Skip to content

Commit 6dd2922

Browse files
committed
support local run of pytest with org support
1 parent 0d52b4e commit 6dd2922

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ def asset(request):
2222
@pytest.fixture(scope='session')
2323
def organization(request):
2424
organization_value = request.config.option.organization
25-
if organization_value is None:
26-
pytest.skip()
25+
if organization_value == "None":
26+
organization_value = None
2727
return organization_value

0 commit comments

Comments
 (0)