Skip to content

Commit

Permalink
fix documentation typo's
Browse files Browse the repository at this point in the history
  • Loading branch information
DriesDeprest committed Aug 19, 2024
1 parent 93a3a9e commit b918242
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions kloppy/tests/test_opta.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def test_counter_attack_qualifiers(self, dataset: EventDataset):


class TestOptaPassEvent:
"""Tests related to deserialzing pass events"""
"""Tests related to deserializing pass events"""

def test_deserialize_all(self, dataset: EventDataset):
"""It should deserialize all pass events"""
Expand Down Expand Up @@ -273,7 +273,7 @@ def test_pass_qualifiers(self, dataset: EventDataset):


class TestOptaClearanceEvent:
"""Tests related to deserialzing clearance events"""
"""Tests related to deserializing clearance events"""

def test_deserialize_all(self, dataset: EventDataset):
"""It should deserialize all clearance events"""
Expand All @@ -287,7 +287,7 @@ def test_correct_deserialization(self, dataset: EventDataset):


class TestOptaShotEvent:
"""Tests related to deserialzing shot events"""
"""Tests related to deserializing shot events"""

def test_deserialize_all(self, dataset: EventDataset):
"""It should deserialize all shot events"""
Expand Down Expand Up @@ -397,7 +397,7 @@ def test_own_goal(self, dataset: EventDataset):


class TestOptaDuelEvent:
"""Tests related to deserialzing duel events"""
"""Tests related to deserializing duel events"""

def test_deserialize_all(self, dataset: EventDataset):
"""It should deserialize all duel events"""
Expand All @@ -417,7 +417,7 @@ def test_qualifiers(self, dataset: EventDataset):


class TestOptaGoalkeeperEvent:
"""Tests related to deserialzing goalkeeper events"""
"""Tests related to deserializing goalkeeper events"""

def test_deserialize_all(self, dataset: EventDataset):
"""It should deserialize all goalkeeper events"""
Expand Down Expand Up @@ -454,7 +454,7 @@ def test_qualifiers(self, dataset: EventDataset):


class TestOptaInterceptionEvent:
"""Tests related to deserialzing interception events"""
"""Tests related to deserializing interception events"""

def test_correct_deserialization(self, dataset: EventDataset):
"""Test if the interception event is correctly deserialized"""
Expand All @@ -463,7 +463,7 @@ def test_correct_deserialization(self, dataset: EventDataset):


class TestOptaMiscontrolEvent:
"""Tests related to deserialzing miscontrol events"""
"""Tests related to deserializing miscontrol events"""

def test_correct_deserialization(self, dataset: EventDataset):
"""Test if the miscontrol event is correctly deserialized"""
Expand All @@ -472,10 +472,10 @@ def test_correct_deserialization(self, dataset: EventDataset):


class TestOptaBlockEvent:
"""Tests related to deserialzing miscontrol events"""
"""Tests related to deserializing block events"""

def test_correct_deserialization(self, dataset: EventDataset):
"""Test if the miscontrol event is correctly deserialized"""
"""Test if the block event is correctly deserialized"""
event = dataset.get_event_by_id("1515097981")
assert event.event_type == EventType.GENERIC
assert event.event_name == "block"

0 comments on commit b918242

Please sign in to comment.