self = <swh.loader.svn.tests.test_loader.SvnLoaderTest11 testMethod=test_load>
def test_load(self):
"""Repository with svn:externals property, will stop raising an error
"""
# when
self.loader.load()
# then repositories holds 21 revisions, but the last commit
# one holds an 'svn:externals' property which will make the
# loader-svn stops at the last revision prior to the bad one
> self.assertCountRevisions(20)
.tox/py3/lib/python3.7/site-packages/swh/loader/svn/tests/test_loader.py:732:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/py3/lib/python3.7/site-packages/swh/loader/core/tests/__init__.py:36: in assertCountRevisions
self._assertCountEqual("revision", len_expected_revisions, 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 != 20
TEST RESULT
TEST RESULT
- Run At
- Jun 4 2020, 2:48 PM