datadir = '/var/lib/jenkins/workspace/DDEP/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/deposit/tests/api/collection/../data'
@pytest.fixture
def atom_dataset(datadir) -> Mapping[str, str]:
"""Compute the paths to atom files.
Returns:
Dict of atom name per content (bytes)
"""
atom_path = os.path.join(datadir, "atom")
data = {}
> for filename in os.listdir(atom_path):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/jenkins/workspace/DDEP/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/deposit/tests/api/collection/../data/atom'
.tox/py3/lib/python3.7/site-packages/swh/deposit/tests/conftest.py:247: FileNotFoundError
TEST RESULT
TEST RESULT
- Run At
- Nov 18 2020, 12:21 PM