client = <django.test.client.Client object at 0x7fbe64e38b00>
tests_data = {'contents': [{'blake2s256': '06c36a71d8fe6b54b273786b2b3f476263980fc634a065b4e1bfa9ea9d52e52b', 'data': '/*\n** SGI F...xcc9\x99c', b',\xf7\xb4\xfb\xd8\xf4%q\xdf4\x1c\xadm\x1f\x82&\xd7!8\x159\xe4\xf3\xb8g\xf3\x0c`\x12\x89\xde0', ...}, ...}
@given(directory())
> def test_permalink_box_context(client, tests_data, directory):
.tox/py3/lib/python3.7/site-packages/swh/web/tests/browse/views/test_directory.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
client = <django.test.client.Client object at 0x7fbe64e38b00>
tests_data = {'contents': [{'blake2s256': '06c36a71d8fe6b54b273786b2b3f476263980fc634a065b4e1bfa9ea9d52e52b', 'data': '/*\n** SGI F...xcc9\x99c', b',\xf7\xb4\xfb\xd8\xf4%q\xdf4\x1c\xadm\x1f\x82&\xd7!8\x159\xe4\xf3\xb8g\xf3\x0c`\x12\x89\xde0', ...}, ...}
directory = '386b914acb5edf4d87252b665335d4db90ca2f0e'
@given(directory())
def test_permalink_box_context(client, tests_data, directory):
origin_url = random.choice(tests_data["origins"])["url"]
url = reverse(
"browse-directory",
url_args={"sha1_git": directory},
query_params={"origin_url": origin_url},
)
resp = client.get(url)
> 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_directory.py:78: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Aug 7 2020, 2:30 PM