💚 text and binary file types

This commit is contained in:
chfw 2019-07-14 08:13:55 +01:00
parent 57b1b49b0a
commit 3a6e86cfd6
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ def test_convert_to_bytes_stream():
raise SkipTest('No need test in python 2')
else:
file_content = b'test'
stream = _convert_content_to_stream(file_content, 'string')
stream = _convert_content_to_stream(file_content, 'csv')
assert isinstance(stream, StringIO)
@ -48,5 +48,5 @@ def test_convert_to_string_stream():
raise SkipTest('No need test in python 2')
else:
file_content = 'test'
stream = _convert_content_to_stream(file_content, 'bytes')
stream = _convert_content_to_stream(file_content, 'csvz')
assert isinstance(stream, BytesIO)