Skip to content
Snippets Groups Projects
Verified Commit 391affaa authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

tests: Rename resources directory to data

This allows to drop the datadir fixture override and realign with other loader
tests.

Related to T2481
parent 56b3a881
No related branches found
No related tags found
No related merge requests found
include Makefile
include requirements*.txt
include version.txt
recursive-include swh/loader/mercurial/tests/resources *
recursive-include swh/loader/mercurial/tests/data *
recursive-include swh py.typed
......@@ -56,15 +56,6 @@ def swh_config(swh_loader_config, monkeypatch, tmp_path):
return conffile
@pytest.fixture
def datadir(request):
"""Override default datadir because it's named `resources` in this repository and not
`data` as expected by the default fixture.
"""
return os.path.join(os.path.dirname(str(request.fspath)), "resources")
@pytest.fixture(scope="session") # type: ignore # expected redefinition
def celery_includes():
return [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment