mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 19:43:59 +03:00
Removed decode from test filename
This commit is contained in:
parent
d474934d36
commit
d1f4dfca20
|
@ -112,4 +112,4 @@ class TestFileUploadParser(TestCase):
|
|||
def test_get_filename(self):
|
||||
parser = FileUploadParser()
|
||||
filename = parser.get_filename(self.stream, None, self.parser_context)
|
||||
self.assertEqual(filename, 'file.txt'.encode('utf-8'))
|
||||
self.assertEqual(filename, 'file.txt')
|
||||
|
|
Loading…
Reference in New Issue
Block a user