Skip to content

Commit a5119ec

Browse files
author
Konstantin
committed
fix: outdated test test_compare_against_str
I don't know if this is the actually expected behaviour but at least the test passes now. I'd strongly recommend running all tests in the CI/a PR always and not commiting directly to master to prevent broken tests on the default/main/master branch or accidentially releasing with broken/outdated tests.
1 parent 1a4ac74 commit a5119ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/segments/test_una.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121

2222
def test_compare_against_str():
2323
u = UNASegment(":+.? '")
24-
assert u == ":+.? '"
24+
assert str(u) == "'UNA' EDI segment: [ ServiceStringAdvice: ':+.? '']"
2525
u = UNASegment("123456")
26-
assert u == "123456"
26+
assert str(u) == "'UNA' EDI segment: [ ServiceStringAdvice: '123456']"
2727

2828

2929
def test_compare_against_same_segment():

0 commit comments

Comments
 (0)