From 1ab0204d8cea7f3dd1150ca600f975dcfc0d25ef Mon Sep 17 00:00:00 2001 From: tazlin Date: Mon, 3 Jun 2024 15:26:30 -0400 Subject: [PATCH] tests: set all fixtures to session scoped --- tests/conftest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 6c39bf77..5944e788 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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():