Skip to content
Snippets Groups Projects
Commit 2e4558c0 authored by Stefano Zacchiroli's avatar Stefano Zacchiroli
Browse files

test_cli.py: fill in valid snapshot ID

parent 8e3ee395
No related branches found
Tags v0.3.3
No related merge requests found
...@@ -56,8 +56,9 @@ class TestIdentify(DataMixin, unittest.TestCase): ...@@ -56,8 +56,9 @@ class TestIdentify(DataMixin, unittest.TestCase):
repo_dir = os.path.join(d, 'sample-repo') repo_dir = os.path.join(d, 'sample-repo')
result = self.runner.invoke(cli.identify, result = self.runner.invoke(cli.identify,
['--type', 'snapshot', repo_dir]) ['--type', 'snapshot', repo_dir])
self.assertPidOK(result, self.assertPidOK(
'swh:1:snp:9dc0fc035aabe293f5faf6c362a59513454a170d') # NoQA result,
'swh:1:snp:abc888898124270905a0ef3c67e872ce08e7e0c1')
def test_origin_id(self): def test_origin_id(self):
"""identify an origin URL""" """identify an origin URL"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment