Skip to content

Commit

Permalink
updated docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaDaniel committed Mar 12, 2024
1 parent 4e53591 commit 47fa520
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion unittests/test_nachrichtenstrukturtabelle.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class TestNachrichtenstrukturTabelle:
"""
A class with pytest unit tests.
A class with pytest unit tests for NachrichtenstrukturTabellen.
"""

def test_init_nachrichtenstrukturtabelle(self):
Expand Down
10 changes: 5 additions & 5 deletions unittests/test_nachrichtenstrukturzeile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@

class TestNachrichtenstrukturZeile:
"""
A class with pytest unit tests.
A class with pytest unit tests for NachrichtenstrukturZeile.
"""

def test_init_nachrichtenstrukturzeile(self):
my_class2 = NachrichtenstrukturZeile.init_raw_lines(
nachrichtenstruktur_zeile = NachrichtenstrukturZeile.init_raw_lines(
"\t0590\t527\tRFF\tC\tD\t9\t9\t3\tReferenz auf die ID einer Messlokation"
)
assert my_class2.zaehler == "0590"
my_class3 = NachrichtenstrukturZeile.init_raw_lines(
assert nachrichtenstruktur_zeile.zaehler == "0590"
nachrichtenstruktur_zeile = NachrichtenstrukturZeile.init_raw_lines(
"\t0590\tRFF\tC\tD\t9\t9\t3\tReferenz auf die ID einer Messlokation"
)
assert my_class3.nr is None
assert nachrichtenstruktur_zeile.nr is None

def test_failed_init_nachrichtenstrukturzeile(self):
with pytest.raises(ValueError) as excinfo:
Expand Down
2 changes: 1 addition & 1 deletion unittests/test_nestednachrichtenstruktur.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class TestNestedNachrichtenstruktur:
"""
A class with pytest unit tests.
A class with pytest unit tests for nested Nachrichtenstrukturen.
"""

def test_structure_table(self):
Expand Down

0 comments on commit 47fa520

Please sign in to comment.