Skip to content

Commit

Permalink
Moved empty_deployment fixture to session scope in conftest
Browse files Browse the repository at this point in the history
  • Loading branch information
octonawish-akcodes authored and spbnick committed Jul 25, 2023
1 parent 528df29 commit a2f8d85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
@pytest.fixture(
params=["empty_deployment"]
if os.environ.get("KCIDB_DEPLOYMENT", "") == "This deployment is empty"
else []
else [],
scope="session"
)
def empty_deployment():
"""Reusable empty (no-data) deployment"""
Expand Down

0 comments on commit a2f8d85

Please sign in to comment.