self = <swh.indexer.tests.test_mimetype.TestMimetypeIndexer testMethod=test_index>
def test_index(self):
"""Known sha1 have their data indexed"""
sha1s = [self.id0, self.id1, self.id2]
# when
self.indexer.run(sha1s)
> self.assert_results_ok(sha1s)
.tox/py3/lib/python3.7/site-packages/swh/indexer/tests/utils.py:700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/py3/lib/python3.7/site-packages/swh/indexer/tests/utils.py:691: in assert_results_ok
self.assertEqual(expected_results, actual_results)
E AssertionError: Lists differ: [Cont[48 chars]ol={'name': 'file', 'version': '1:5.30-1+deb9u[843 chars]='')] != [Cont[48 chars]ol={'id': 7016174583428605397, 'name': 'file',[836 chars]='')]
E
E First differing element 1:
E Conte[47 chars]ol={'name': 'file', 'version': '1:5.30-1+deb9u[211 chars]cii')
E Conte[47 chars]ol={'id': 7016174583428605397, 'name': 'file',[204 chars]cii')
E
E Diff is 1905 characters long. Set self.maxDiff to None to see it.
TEST RESULT
TEST RESULT
- Run At
- Jul 21 2022, 7:31 PM