Page MenuHomeSoftware Heritage

Jenkins > .tox.py3-core-db-server-github-slow-cover.lib.python3.7.site-packages.swh.core.db.tests.test_db_utils::test_db_utils_versions[test.cli]
Failed

TEST RESULT

Run At
Nov 28 2022, 5:11 PM
Details
request = <SubRequest 'datadir' for <Function test_get_response_cb_with_encoded_url>> @pytest.fixture(scope="session") def datadir(request: pytest.FixtureRequest) -> str: """By default, returns the test directory's data directory. This can be overridden on a per file tree basis. Add an override definition in the local conftest, for example:: import pytest from os import path @pytest.fixture def datadir(): return path.join(path.abspath(path.dirname(__file__)), 'resources') """ # pytest >= 7 renamed FixtureRequest fspath attribute to path > path_ = request.path if hasattr(request, "path") else request.fspath # type: ignore E AttributeError: path not available in session-scoped context .tox/py3-core-db-server-github-slow-cover/lib/python3.7/site-packages/swh/core/pytest_plugin.py:139: AttributeError