@@ -188,7 +188,7 @@ def message():
188
188
189
189
190
190
def test_empty_interchange (interchange ):
191
- assert str (interchange ) == ("UNB+UNOC:1+1234+3333+200102:2212+42'" " UNZ+0+42'" )
191
+ assert str (interchange ) == ("UNB+UNOC:1+1234+3333+200102:2212+42'UNZ+0+42'" )
192
192
193
193
194
194
def test_empty_interchange_w_extra_header ():
@@ -201,12 +201,12 @@ def test_empty_interchange_w_extra_header():
201
201
extra_header_elements = [["66" , "2" ], "ZZ" ],
202
202
)
203
203
204
- assert str (i ) == ("UNB+UNOC:1+1234+3333+200102:2212+42+66:2+ZZ'" " UNZ+0+42'" )
204
+ assert str (i ) == ("UNB+UNOC:1+1234+3333+200102:2212+42+66:2+ZZ'UNZ+0+42'" )
205
205
206
206
207
207
def test_empty_interchange_from_str ():
208
- i = Interchange .from_str ("UNB+UNOC:1+1234+3333+200102:2212+42'" " UNZ+0+42'" )
209
- assert str (i ) == ("UNB+UNOC:1+1234+3333+200102:2212+42'" " UNZ+0+42'" )
208
+ i = Interchange .from_str ("UNB+UNOC:1+1234+3333+200102:2212+42'UNZ+0+42'" )
209
+ assert str (i ) == ("UNB+UNOC:1+1234+3333+200102:2212+42'UNZ+0+42'" )
210
210
211
211
212
212
def test_empty_interchange_w_una ():
@@ -217,7 +217,7 @@ def test_empty_interchange_w_una():
217
217
Segment ("UNZ" , "0" , "42" ),
218
218
]
219
219
)
220
- assert str (i ) == ("UNA:+,? '" "UNB+UNOC:1+1234+3333+200102:2212+42'" " UNZ+0+42'" )
220
+ assert str (i ) == ("UNA:+,? '" "UNB+UNOC:1+1234+3333+200102:2212+42'UNZ+0+42'" )
221
221
222
222
223
223
def test_interchange_messages (interchange , message ):
0 commit comments