From ce007e3268376617f02ab9159fa62ed571d6760b Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Wed, 23 Oct 2024 13:01:17 +0200 Subject: [PATCH 1/2] Move to new dev cluster --- tests/e2e/conftest.py | 2 +- tests/unit/conftest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/conftest.py b/tests/e2e/conftest.py index 0a7dabfa..0567bd51 100644 --- a/tests/e2e/conftest.py +++ b/tests/e2e/conftest.py @@ -83,7 +83,7 @@ def ws( async def api_config(tmp_path_factory: Any) -> AsyncIterator[Optional[pathlib.Path]]: e2e_test_token = os.environ.get("E2E_USER_TOKEN") e2e_test_api_endpoint = os.environ.get( - "E2E_API_ENDPOINT", "https://dev.neu.ro/api/v1" + "E2E_API_ENDPOINT", "https://api.dev.apolo.us/api/v1" ) if e2e_test_token: tmp_path = tmp_path_factory.mktemp("config") diff --git a/tests/unit/conftest.py b/tests/unit/conftest.py index 3fece7e3..310977a2 100644 --- a/tests/unit/conftest.py +++ b/tests/unit/conftest.py @@ -16,7 +16,7 @@ def assets() -> pathlib.Path: def api_config(tmp_path_factory: Any) -> Iterator[pathlib.Path]: e2e_test_token = os.environ.get("E2E_USER_TOKEN") e2e_test_api_endpoint = os.environ.get( - "E2E_API_ENDPOINT", "https://dev.neu.ro/api/v1" + "E2E_API_ENDPOINT", "https://api.dev.apolo.us/api/v1" ) if e2e_test_token: tmp_path = tmp_path_factory.mktemp("config") From f13ae338b5eee6bb26fc6e973060b267134ccc92 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Wed, 23 Oct 2024 13:30:15 +0200 Subject: [PATCH 2/2] fix --- tests/unit/conftest.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/unit/conftest.py b/tests/unit/conftest.py index 310977a2..8928b24e 100644 --- a/tests/unit/conftest.py +++ b/tests/unit/conftest.py @@ -15,9 +15,7 @@ def assets() -> pathlib.Path: @pytest.fixture(scope="session") def api_config(tmp_path_factory: Any) -> Iterator[pathlib.Path]: e2e_test_token = os.environ.get("E2E_USER_TOKEN") - e2e_test_api_endpoint = os.environ.get( - "E2E_API_ENDPOINT", "https://api.dev.apolo.us/api/v1" - ) + e2e_test_api_endpoint = "https://api.dev.apolo.us/api/v1" if e2e_test_token: tmp_path = tmp_path_factory.mktemp("config") config_path = tmp_path / "conftest"