self = <swh.loader.mercurial.tests.test_loader.WithReleaseLoaderTest testMethod=test_load>
def test_load(self):
"""Load a repository with tags results in 1 snapshot
"""
# when
actual_load_status = self.loader.load()
> self.assert_data_ok(actual_load_status)
.tox/py3/lib/python3.7/site-packages/swh/loader/mercurial/tests/test_loader.py:168:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/py3/lib/python3.7/site-packages/swh/loader/mercurial/tests/test_loader.py:110: in assert_data_ok
self.assertCountReleases(1) # type: ignore
.tox/py3/lib/python3.7/site-packages/swh/loader/core/tests/__init__.py:33: in assertCountReleases
self._assertCountEqual("release", len_expected_releases, msg=msg)
.tox/py3/lib/python3.7/site-packages/swh/loader/core/tests/__init__.py:24: in _assertCountEqual
self.assertEqual(self.storage.stat_counters()[type], expected_length, msg=msg)
E AssertionError: 0 != 1
TEST RESULT
TEST RESULT
- Run At
- Jul 7 2020, 9:33 AM