self = <swh.loader.svn.tests.test_loader.SvnLoaderTest2 testMethod=test_load>
def test_load(self):
"""Load a repository without new changes results in same snapshot
"""
# when
self.loader.load()
# then
self.assertCountContents(0)
self.assertCountDirectories(0)
self.assertCountRevisions(0)
self.assertCountReleases(0)
> self.assertCountSnapshots(1)
.tox/py3/lib/python3.7/site-packages/swh/loader/svn/tests/test_loader.py:254:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/py3/lib/python3.7/site-packages/swh/loader/core/tests/__init__.py:39: in assertCountSnapshots
self._assertCountEqual("snapshot", len_expected_snapshot, 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
- Jun 4 2020, 2:48 PM