client = <django.test.client.Client object at 0x7f0e80360978>
archive_data = <swh.web.tests.conftest._ArchiveData object at 0x7f0e85b41588>
@given(content_unsupported_image_type_rendering())
> def test_content_view_image_no_rendering(client, archive_data, content):
.tox/py3/lib/python3.7/site-packages/swh/web/tests/browse/views/test_content.py:135:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
client = <django.test.client.Client object at 0x7f0e80360978>
archive_data = <swh.web.tests.conftest._ArchiveData object at 0x7f0e85b41588>
content = {'blake2s256': 'b2bc63e7c3580338cbe00d9e0797b397aea3acd56ab35c29ab56b0fd87aace56', 'data': b'P1\n# PBM example\n24 7\n...0 0 0 0\n0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0', 'encoding': 'us-ascii', 'hljs_language': 'nohighlight', ...}
@given(content_unsupported_image_type_rendering())
def test_content_view_image_no_rendering(client, archive_data, content):
url = reverse("browse-content", url_args={"query_string": content["sha1"]})
resp = client.get(url)
mimetype = content["mimetype"]
encoding = content["encoding"]
> assert resp.status_code == 200
E assert 500 == 200
E +500
E -200
.tox/py3/lib/python3.7/site-packages/swh/web/tests/browse/views/test_content.py:143: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Aug 4 2020, 11:19 AM