Skip to content

Commit 1d575ff

Browse files
committed
fix(testcontainers): allow running without pytest plugin
Signed-off-by: Fatih Acar <[email protected]>
1 parent 390d5f4 commit 1d575ff

File tree

1 file changed

+1
-1
lines changed
  • python_testcontainers/infrahub_testcontainers

1 file changed

+1
-1
lines changed

python_testcontainers/infrahub_testcontainers/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def default_branch(self) -> str:
6262

6363
@pytest.fixture(scope="class")
6464
def deployment_type(self, request: pytest.FixtureRequest) -> str | None:
65-
return request.config.getoption("infrahub_deployment_type")
65+
return request.config.getoption(name="infrahub_deployment_type", default=None)
6666

6767
@pytest.fixture(scope="class")
6868
def infrahub_compose(

0 commit comments

Comments
 (0)