@@ -217,15 +217,15 @@ def test_file_is_sent_in_single_packet(self):
217
217
)
218
218
219
219
def test_can_read_binary_files (self ):
220
- with temp_file_contents (b"\xDE \xAD \xBE \xEF " ) as f :
220
+ with temp_file_contents (b"\xde \xad \xbe \xef " ) as f :
221
221
result = get_result_for ([self .option , self .test_id , "--attach-file" , f .name ])
222
222
223
223
self .assertThat (
224
224
result ._events ,
225
225
MatchesListwise (
226
226
[
227
227
MatchesStatusCall (call = "startTestRun" ),
228
- MatchesStatusCall (file_bytes = b"\xDE \xAD \xBE \xEF " , eof = True ),
228
+ MatchesStatusCall (file_bytes = b"\xde \xad \xbe \xef " , eof = True ),
229
229
MatchesStatusCall (call = "stopTestRun" ),
230
230
]
231
231
),
@@ -247,15 +247,15 @@ def test_can_read_empty_files(self):
247
247
)
248
248
249
249
def test_can_read_stdin (self ):
250
- self .patch (_o .sys , "stdin" , TextIOWrapper (BytesIO (b"\xFE \xED \xFA \xCE " )))
250
+ self .patch (_o .sys , "stdin" , TextIOWrapper (BytesIO (b"\xfe \xed \xfa \xce " )))
251
251
result = get_result_for ([self .option , self .test_id , "--attach-file" , "-" ])
252
252
253
253
self .assertThat (
254
254
result ._events ,
255
255
MatchesListwise (
256
256
[
257
257
MatchesStatusCall (call = "startTestRun" ),
258
- MatchesStatusCall (file_bytes = b"\xFE \xED \xFA \xCE " , file_name = "stdin" , eof = True ),
258
+ MatchesStatusCall (file_bytes = b"\xfe \xed \xfa \xce " , file_name = "stdin" , eof = True ),
259
259
MatchesStatusCall (call = "stopTestRun" ),
260
260
]
261
261
),
0 commit comments