mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-03 13:14:30 +03:00
Fix upload parser test (#6044)
This commit is contained in:
parent
0e10d32fb1
commit
56967dbd90
|
@ -62,7 +62,7 @@ class TestFileUploadParser(TestCase):
|
|||
self.stream.seek(0)
|
||||
data_and_files = parser.parse(self.stream, None, self.parser_context)
|
||||
file_obj = data_and_files.files['file']
|
||||
assert file_obj._size == 14
|
||||
assert file_obj.size == 14
|
||||
|
||||
def test_parse_missing_filename(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user