client = <django.test.client.Client object at 0x7f90eb477080>
archive_data = <swh.web.tests.conftest._ArchiveData object at 0x7f90eb477860>
directory = '30195ac221e023104cae5649450d516a9b94e3db'
def test_root_directory_view(client, archive_data, directory):
> _directory_view_checks(client, directory, archive_data.directory_ls(directory))
.tox/py3/lib/python3.7/site-packages/swh/web/tests/browse/views/test_directory.py:40:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/py3/lib/python3.7/site-packages/swh/web/tests/browse/views/test_directory.py:492: in _directory_view_checks
assert_contains(resp, "vault-cook-directory")
.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 'vault-cook-directory' 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 'vault-cook-directory' in response
/usr/lib/python3.7/unittest/case.py:692: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Sep 1 2022, 12:00 PM