Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.indexer.tests.storage.test_in_memory.TestIndexerStorageOriginIntrinsicMetadata::test_origin_intrinsic_metadata_stats
Failed

TEST RESULT

Run At
Apr 5 2021, 10:08 PM
Details
self = <swh.indexer.tests.storage.test_storage.TestIndexerStorageOriginIntrinsicMetadata object at 0x7ff5c577dd30> swh_indexer_storage_with_data = (<swh.indexer.storage.in_memory.IndexerStorage object at 0x7ff5c57b7588>, {'tools': {'universal-ctags': {'id': -124644...id=-2231293379669286873, tool=None, id=b'\x01\xf4\x14l\xfb\n\x91\x9dy\x82uC\x14\xaeaw\xa8\x1eN\x8f', license=b'MIT')]}) def test_origin_intrinsic_metadata_stats( self, swh_indexer_storage_with_data: Tuple[IndexerStorageInterface, Any] ) -> None: storage, data = swh_indexer_storage_with_data self._fill_origin_intrinsic_metadata(swh_indexer_storage_with_data) result = storage.origin_intrinsic_metadata_stats() > assert result == { "per_mapping": { "cff": 0, "description" "gemspec": 1, "npm": 2, "pkg-info": 1, "codemeta": 0, "maven": 0, }, "total": 3, "non_empty": 2, } E AssertionError: assert {'non_empty':...}, 'total': 3} == {'non_empty':...}, 'total': 3} E Omitting 2 identical items, use -vv to show E Differing items: E {'per_mapping': {'cff': 0, 'codemeta': 0, 'description': 0, 'gemspec': 1, ...}} != {'per_mapping': {'cff': 0, 'codemeta': 0, 'descriptiongemspec': 1, 'maven': 0, ...}} E Full diff: E { E 'non_empty': 2, E 'per_mapping': {'cff': 0,... E E ...Full output truncated (12 lines hidden), use '-vv' to show .tox/py3/lib/python3.7/site-packages/swh/indexer/tests/storage/test_storage.py:1584: AssertionError