diff --git a/tests/conftest.py b/tests/conftest.py index 433ae29..ba2e942 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,5 +1,4 @@ import json -import os import warnings from collections import UserDict from pathlib import Path @@ -70,18 +69,7 @@ def pytest_sessionstart(session): def _init_ee_for_tests(): - # Use the Github Service Account for CI tests - if os.environ.get("GITHUB_ACTIONS"): - key_data = os.environ.get("EE_SERVICE_ACCOUNT") - project_id = json.loads(key_data).get("project_id") - credentials = ee.ServiceAccountCredentials(None, key_data=key_data) - # Use stored persistent credentials for local tests - else: - # Project should be parsed from credentials - project_id = None - credentials = "persistent" - - ee.Initialize(credentials, project=project_id) + ee.Initialize() @pytest.fixture(autouse=True)