Page MenuHomeSoftware Heritage

Jenkins > .tox.py3-full.lib.python3.7.site-packages.swh.model.tests.test_identifiers.RawExtrinsicMetadataIdentifier::test_minimal
Failed

TEST RESULT

Run At
Apr 30 2021, 11:31 AM
Details
self = <swh.model.tests.test_identifiers.RawExtrinsicMetadataIdentifier testMethod=test_minimal> def test_minimal(self): manifest = ( b"raw_extrinsic_metadata 210\0" b"target swh:1:cnt:568aaf43d83b2c3df8067f3bedbb97d83260be6d\n" b"discovery_date 1611574071\n" b"authority forge https://forge.softwareheritage.org/\n" b"fetcher swh-phabricator-metadata-fetcher 0.0.1\n" b"format json\n" b"\n" b'{"foo": "bar"}' ) self.assertEqual( > identifiers.raw_extrinsic_metadata_manifest(self.minimal), manifest, ) E AssertionError: b'target swh:1:cnt:568aaf43d83b2c3df8067f3b[171 chars]ar"}' != b'raw_extrinsic_metadata 210\x00target swh:[201 chars]ar"}' .tox/py3-full/lib/python3.7/site-packages/swh/model/tests/test_identifiers.py:820: AssertionError