Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.model.tests.test_cli.TestIdentify::test_content_id_from_stdin
Failed

TEST RESULT

Run At
Feb 16 2021, 2:43 PM
Details
self = <swh.model.tests.test_cli.TestIdentify testMethod=test_content_id_from_stdin> def test_content_id_from_stdin(self): """identify file content""" self.make_contents(self.tmpdir_name) for _, content in self.contents.items(): result = self.runner.invoke(cli.identify, ["-"], input=content["data"]) > self.assertSWHID(result, "swh:1:cnt:" + hash_to_hex(content["sha1_git"])) .tox/py3/lib/python3.7/site-packages/swh/model/tests/test_cli.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py3/lib/python3.7/site-packages/swh/model/tests/test_cli.py:27: in assertSWHID self.assertEqual(result.output.split()[0], swhid) E AssertionError: 'File' != 'swh:1:cnt:d81cc0710eb6cf9efd5b920a8453e1e07157b6cd' E - File E + swh:1:cnt:d81cc0710eb6cf9efd5b920a8453e1e07157b6cd