Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_postgresql.TestStorage::test_content_get_ctime_not_naive
Failed

TEST RESULT

Run At
Sep 2 2020, 2:45 PM
Details
self = <swh.storage.tests.storage_tests.TestStorage object at 0x7f3b5ca61f28> swh_storage = <swh.storage.postgresql.storage.Storage object at 0x7f3b5ca8df98> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7f3b5ca7ee48> def test_content_get_ctime_not_naive(self, swh_storage, sample_data): cont = sample_data.contents[0] swh_storage.content_add([cont]) content = swh_storage.content_get([cont.sha1])[0] > assert content.ctime is not None E assert None is not None E + where None = Content(sha1=b'4\x972t\xcc\xefj\xb4\xdf\xaa\xf8e\x99y/\xa9\xc3\xfeF\x89', sha1_git=b'\xd8\x1c\xc0q\x0e\xb6\xcf\x9e\xfd...xfe\x199We'\xe4,\xfdv\xa9EZ$2\xfe\x7fVf\x95dW}\xd9<B\x80\xe7mf\x1d", length=3, status='visible', data=None, ctime=None).ctime .tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:615: AssertionError