Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Oct 8 2021, 4:44 PM
Details
client = <django.test.client.Client object at 0x7f04e4346860> archive_data = <swh.web.tests.conftest._ArchiveData object at 0x7f04e394c320> @given(origin()) > def test_origin_branches(client, archive_data, origin): .tox/py3/lib/python3.7/site-packages/swh/web/tests/browse/views/test_origin.py:410: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py3/lib/python3.7/site-packages/swh/web/tests/browse/views/test_origin.py:418: in test_origin_branches _origin_branches_test_helper(client, origin, snapshot_content, snapshot_sizes) .tox/py3/lib/python3.7/site-packages/swh/web/tests/browse/views/test_origin.py:1183: in _origin_branches_test_helper assert_contains(resp, f'"{escape(origin_branches_url)}"') .tox/py3/lib/python3.7/site-packages/django/test/testcases.py:454: in assertContains self.assertTrue(real_count != 0, msg_prefix + "Couldn't find %s in response" % text_repr) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <django.test.testcases.TestCase testMethod=run>, expr = False msg = 'False is not true : Couldn\'t find \'"/browse/snapshot-branches/?origin_url=https://github.com/memononen/libtess2"\' in response' def assertTrue(self, expr, msg=None): """Check that the expression is true.""" if not expr: msg = self._formatMessage(msg, "%s is not true" % safe_repr(expr)) > raise self.failureException(msg) E AssertionError: False is not true : Couldn't find '"/browse/snapshot-branches/?origin_url=https://github.com/memononen/libtess2"' in response /usr/lib/python3.7/unittest/case.py:692: AssertionError