Skip to content

Commit bcefe36

Browse files
committed
ci: expose repo root for pytest src imports
1 parent 5c76b63 commit bcefe36

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ packages = ["src/nimbus"]
6262

6363
[tool.pytest.ini_options]
6464
testpaths = ["tests"]
65-
pythonpath = ["src"]
65+
pythonpath = [".", "src"]
6666
addopts = "--strict-config --strict-markers"
6767
markers = [
6868
"integration: marks tests as integration tests (may require external services)",

tests/test_executor_integration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def mock_settings():
2727
settings.docker_network_name = "nimbus-test"
2828
settings.docker_workspace_path = Path("/tmp/test-workspaces")
2929
settings.docker_default_image = "ubuntu:22.04"
30+
settings.docker_container_user = None
3031
settings.metadata_endpoint_denylist = []
3132
settings.egress_policy_pack = None
3233
settings.offline_mode = False

0 commit comments

Comments
 (0)