Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.web.tests.browse.views.test_identifiers::Tests / Python tests / test_legacy_swhid_browse
Failed

TEST RESULT

Run At
Aug 4 2020, 11:19 AM
Details
archive_data = <swh.web.tests.conftest._ArchiveData object at 0x7f0e85b41588> client = <django.test.client.Client object at 0x7f0e8512b8d0> @given(origin()) > def test_legacy_swhid_browse(archive_data, client, origin): .tox/py3/lib/python3.7/site-packages/swh/web/tests/browse/views/test_identifiers.py:170: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py3/lib/python3.7/site-packages/swh/web/tests/browse/views/test_identifiers.py:200: in test_legacy_swhid_browse assert_contains(resp, swhid) .tox/py3/lib/python3.7/site-packages/django/test/testcases.py:446: in assertContains response, text, status_code, msg_prefix, html) .tox/py3/lib/python3.7/site-packages/django/test/testcases.py:418: in _assert_contains " (expected %d)" % (response.status_code, status_code) /usr/lib/python3.7/unittest/case.py:839: in assertEqual assertion_func(first, second, msg=msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <django.test.testcases.TestCase testMethod=run>, first = 500 second = 200 msg = "500 != 200 : Couldn't retrieve content: Response code was 500 (expected 200)" def _baseAssertEqual(self, first, second, msg=None): """The default assertEqual implementation, not type specific.""" if not first == second: standardMsg = '%s != %s' % _common_shorten_repr(first, second) msg = self._formatMessage(msg, standardMsg) > raise self.failureException(msg) E AssertionError: 500 != 200 : Couldn't retrieve content: Response code was 500 (expected 200) /usr/lib/python3.7/unittest/case.py:832: AssertionError