Removed decode from test filename

This commit is contained in:
Vladislav Vlastovskiy 2014-04-14 13:04:18 +04:00
parent d474934d36
commit d1f4dfca20

View File

@ -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')