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:715:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/py3/lib/python3.7/site-packages/swh/indexer/tests/utils.py:706: in assert_results_ok
self.assertEqual(expected_results, actual_results)
E AssertionError: Lists differ: [Cont[48 chars]ol={'configuration': {'type': 'library', 'debi[843 chars]='')] != [Cont[48 chars]ol={'id': 2889608893489474361, 'name': 'file',[836 chars]='')]
E
E First differing element 1:
E Conte[47 chars]ol={'configuration': {'type': 'library', 'debi[211 chars]cii')
E Conte[47 chars]ol={'id': 2889608893489474361, '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 22 2022, 10:11 AM