swh_storage = <swh.storage.proxies.filter.FilteringProxyStorage object at 0x7f4cffaeab38>
datadir = '/var/lib/jenkins/workspace/DLDHG/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/loader/mercurial/tests/data'
tmp_path = PosixPath('/tmp/pytest-of-jenkins/pytest-0/test_examples_the_sandbox_0')
archive_name = 'the-sandbox'
@pytest.mark.parametrize(
"archive_name", ("hello", "transplant", "the-sandbox", "example")
)
def test_examples(swh_storage, datadir, tmp_path, archive_name):
archive_path = Path(datadir, f"{archive_name}.tgz")
json_path = Path(datadir, f"{archive_name}.json")
repo_url = prepare_repository_from_archive(archive_path, archive_name, tmp_path)
LoaderChecker(
loader=HgLoaderFromDisk(swh_storage, repo_url),
> expected=ExpectedSwhids.load(json_path),
).check()
.tox/py3/lib/python3.7/site-packages/swh/loader/mercurial/tests/test_from_disk.py:98:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <swh.loader.mercurial.tests.loader_checker.LoaderChecker object at 0x7f4cff90ce10>
def check(self) -> None:
"""Check loader's outputs."""
> assert self._loader.load() == {"status": "eventful"}
E AssertionError: assert {'status': 'uneventful'} == {'status': 'eventful'}
E Differing items:
E {'status': 'uneventful'} != {'status': 'eventful'}
E Full diff:
E - {'status': 'eventful'}
E + {'status': 'uneventful'}
E ? ++
.tox/py3/lib/python3.7/site-packages/swh/loader/mercurial/tests/loader_checker.py:54: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Sep 6 2021, 1:30 PM