diff --git a/containers/test-template/test-template.sh b/containers/test-template/test-template.sh index ba73546a..90dafe69 100755 --- a/containers/test-template/test-template.sh +++ b/containers/test-template/test-template.sh @@ -6,6 +6,7 @@ method="$1" script_name="$2" cp -r /app/* /work +cp -r /snakebids /src script="'${script_name}' tests/data tests/result participant -c1 --skip-bids-validation" case "$method" in "setuptools" ) diff --git a/snakebids/tests/test_template.py b/snakebids/tests/test_template.py index 90054aaf..db12dd3b 100644 --- a/snakebids/tests/test_template.py +++ b/snakebids/tests/test_template.py @@ -318,7 +318,7 @@ def test_template_dry_runs_successfully( "-v", f"{tmp_path / app_name}:/app", "-v", - f"{request.config.rootpath}:/src", + f"{request.config.rootpath}:/snakebids", "--rm", f"snakebids/test-template:{platform.python_version()}", venv, @@ -356,7 +356,7 @@ def test_template_docs_build(tmp_path: Path, request: pytest.FixtureRequest): "-v", f"{tmp_path / app_name}:/app", "-v", - f"{request.config.rootpath}:/src", + f"{request.config.rootpath}:/snakebids", "--rm", f"snakebids/test-template:{platform.python_version()}", "docs",