Commit 66307d3e authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed broken tests.

parent 6c2081b7
Pipeline #62790 passed with stages
in 24 minutes and 26 seconds
......@@ -1130,7 +1130,7 @@ class TestRaw(UploadFilesBasedTests):
assert rv.status_code == 200
self.assert_zip_file(rv, files=len(example_file_contents) * len(processeds) + 1)
with zipfile.ZipFile(io.BytesIO(rv.data)) as zip_file:
with zip_file.open('manifest.json', 'rt') as f:
with zip_file.open('manifest.json', 'r') as f:
manifest = json.load(f)
assert len(manifest) == len(processeds)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment