Skip to content

Commit

Permalink
tests: set all fixtures to session scoped
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed Jun 3, 2024
1 parent 5070aa0 commit db3d8c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
import requests


@pytest.fixture
@pytest.fixture(scope="session")
def CIVERSION() -> str:
return "0.1.1"


@pytest.fixture
@pytest.fixture(scope="session")
def HORDE_URL() -> str:
return "localhost:7001"


@pytest.fixture
@pytest.fixture(scope="session")
def api_key() -> str:
key_file = pathlib.Path(__file__).parent / "apikey.txt"
if key_file.exists():
Expand Down

0 comments on commit db3d8c4

Please sign in to comment.