swh_storage = <swh.storage.proxies.filter.FilteringProxyStorage object at 0x7fcf5f96ddd8>
datadir = '/var/lib/jenkins/workspace/DLDBZR/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/loader/bzr/tests/data'
tmp_path = PosixPath('/tmp/pytest-of-jenkins/pytest-0/test_nominal_True_0')
do_clone = True
@pytest.mark.parametrize("do_clone", [False, True])
def test_nominal(swh_storage, datadir, tmp_path, do_clone):
archive_path = Path(datadir, "nominal.tgz")
repo_url = prepare_repository_from_archive(archive_path, "nominal", tmp_path)
if do_clone:
# Check that the cloning mechanism works
loader = BazaarLoader(swh_storage, repo_url)
else:
loader = BazaarLoader(swh_storage, repo_url, directory=repo_url)
res = loader.load()
> assert res == {"status": "eventful"}
E AssertionError: assert {'status': 'failed'} == {'status': 'eventful'}
E Differing items:
E {'status': 'failed'} != {'status': 'eventful'}
E Full diff:
E - {'status': 'eventful'}
E + {'status': 'failed'}
.tox/py3/lib/python3.7/site-packages/swh/loader/bzr/tests/test_loader.py:71: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Feb 9 2022, 2:58 PM