client = <django.test.client.Client object at 0x7f90ec5ca048>
archive_data = <swh.web.tests.conftest._ArchiveData object at 0x7f90ec5ca278>
empty_directory = '4b825dc642cb6eb9a060e54bf8d69288fbee4904'
@given(new_person(), new_swh_date())
> def test_sub_directory_view_origin_context(
client, archive_data, empty_directory, person, date
):
.tox/py3/lib/python3.7/site-packages/swh/web/tests/browse/views/test_directory.py:53:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/py3/lib/python3.7/site-packages/swh/web/tests/browse/views/test_directory.py:135: in test_sub_directory_view_origin_context
hash_to_hex(revision.id),
.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
E Falsifying example: test_sub_directory_view_origin_context(
E date={'timestamp': 1420070400, 'offset': 0, 'negative_utc': False},
E person=Person(fullname=b'', name=None, email=None),
E client=<django.test.client.Client at 0x7f90ec5ca048>,
E archive_data=<swh.web.tests.conftest._ArchiveData at 0x7f90ec5ca278>,
E empty_directory='4b825dc642cb6eb9a060e54bf8d69288fbee4904',
E )
/usr/lib/python3.7/unittest/case.py:692: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Sep 1 2022, 12:00 PM