Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Feb 16 2021, 2:43 PM
Details
self = <swh.model.tests.test_cli.TestIdentify testMethod=test_origin_id> def test_origin_id(self): """identify an origin URL""" url = "https://github.com/torvalds/linux" result = self.runner.invoke(cli.identify, ["--type", "origin", url]) > self.assertSWHID(result, "swh:1:ori:b63a575fe3faab7692c9f38fb09d4bb45651bb0f") .tox/py3/lib/python3.7/site-packages/swh/model/tests/test_cli.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .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:ori:b63a575fe3faab7692c9f38fb09d4bb45651bb0f' E - File E + swh:1:ori:b63a575fe3faab7692c9f38fb09d4bb45651bb0f