Skip to content

Commit 1bacf5b

Browse files
committed
Fix tests/test_parsers.py::TestFileUploadParser::test_parse
1 parent edd0717 commit 1bacf5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_parsers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ def test_parse(self):
6262
self.stream.seek(0)
6363
data_and_files = parser.parse(self.stream, None, self.parser_context)
6464
file_obj = data_and_files.files['file']
65-
assert file_obj._size == 14
65+
size = file_obj.size
66+
assert size == 14
6667

6768
def test_parse_missing_filename(self):
6869
"""

0 commit comments

Comments
 (0)