diff --git a/tests/test_scripts/test_decorator.py b/tests/test_scripts/test_decorator.py index f48519bd..1ca0f432 100644 --- a/tests/test_scripts/test_decorator.py +++ b/tests/test_scripts/test_decorator.py @@ -43,6 +43,7 @@ def test_init_ee() -> None: ## 2. Assert when there's no a project associated # remove the project_id key if it exists + ee.data._credentials = None credentials.pop("project_id", None) credentials.pop("project", None) if "EARTHENGINE_PROJECT" in os.environ: diff --git a/tests/test_scripts/test_utils.py b/tests/test_scripts/test_utils.py index abecbdee..33cdd646 100644 --- a/tests/test_scripts/test_utils.py +++ b/tests/test_scripts/test_utils.py @@ -137,6 +137,7 @@ def test_init_ee() -> None: ## 2. Assert when there's no a project associated # remove the project_id key if it exists + ee.data._credentials = None credentials.pop("project_id", None) credentials.pop("project", None) if "EARTHENGINE_PROJECT" in os.environ: