Page MenuHomeSoftware Heritage
Paste P1409

(An Untitled Masterwork)
ActivePublic

Authored by ardumont on Jul 21 2022, 4:26 PM.
swh/indexer/tests/utils.py:712:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
swh/indexer/tests/utils.py:702: in assert_results_ok
self.assertEqual(expected_results, actual_results)
E AssertionError: Lists differ: [Cont[48 chars]ol={'configuration': {'type': 'library', 'debi[839 chars]='')] != [Cont[48 chars]ol={'id': -7322148152319774267, 'name': 'file'[846 chars]='')]
E
E First differing element 1:
E Conte[47 chars]ol={'configuration': {'type': 'library', 'debi[205 chars]cii')
E Conte[47 chars]ol={'id': -7322148152319774267, 'name': 'file'[212 chars]cii')
E
E - [ContentMimetypeRow(indexer_configuration_id=None, tool={'configuration': {'type': 'library', 'debian-package': 'python3-magic'}, 'name': 'file', 'version': '1:5.30-1+deb9u1', 'id': -7322148152319774267}, id=b'\x97\xbbi^ij\xda\xfay\xba\x82\x7f5\x90\x80\x91\xae\x9fa\x93', mimetype='text/plain', encoding='utf-8'),
E - ContentMimetypeRow(indexer_configuration_id=None, tool={'configuration': {'type': 'library', 'debian-package': 'python3-magic'}, 'name': 'file', 'version': '1:5.30-1+deb9u1', 'id': -7322148152319774267}, id=b'\x0fu\xaeO}u\xd4.\x12\xc1\xb6W!\xec\xae^v\xfe\xe2#', mimetype='text/x-python', encoding='us-ascii'),
E - ContentMimetypeRow(indexer_configuration_id=None, tool={'configuration': {'type': 'library', 'debian-package': 'python3-magic'}, 'name': 'file', 'version': '1:5.30-1+deb9u1', 'id': -7322148152319774267}, id=b'\t\x1e4\x8a\xaa~#\xe4\xac\xe29j\xf3o\xd4\xe1\xda\xdbC\xd0', mimetype='application/octet-stream', encoding='')]
E + [ContentMimetypeRow(indexer_configuration_id=None, tool={'id': -7322148152319774267, 'name': 'file', 'version': '1:5.30-1+deb9u1', 'configuration': {'type': 'library', 'debian-package': 'python3-magic'}}, id=b'\x97\xbbi^ij\xda\xfay\xba\x82\x7f5\x90\x80\x91\xae\x9fa\x93', mimetype='text/plain', encoding='utf-8'),
E + ContentMimetypeRow(indexer_configuration_id=None, tool={'id': -7322148152319774267, 'name': 'file', 'version': '1:5.30-1+deb9u1', 'configuration': {'type': 'library', 'debian-package': 'python3-magic'}}, id=b'\x0fu\xaeO}u\xd4.\x12\xc1\xb6W!\xec\xae^v\xfe\xe2#', mimetype='text/x-script.python', encoding='us-ascii'),
E + ContentMimetypeRow(indexer_configuration_id=None, tool={'id': -7322148152319774267, 'name': 'file', 'version': '1:5.30-1+deb9u1', 'configuration': {'type': 'library', 'debian-package': 'python3-magic'}}, id=b'\t\x1e4\x8a\xaa~#\xe4\xac\xe29j\xf3o\xd4\xe1\xda\xdbC\xd0', mimetype='application/octet-stream', encoding='')]
============================================================================================================== warnings summary ===============================================================================================================