Skip to content

Commit

Permalink
feat: make init with earthengine token optional as well
Browse files Browse the repository at this point in the history
  • Loading branch information
dfguerrerom committed Feb 16, 2024
1 parent 4ad3914 commit eb85416
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ def pytest_configure():
if os.getenv("EARTHENGINE_SERVICE_ACCOUNT"):
pytest_gee.init_ee_from_service_account()

pytest_gee.init_ee_from_token()
if os.getenv("EARTHENGINE_TOKEN"):
pytest_gee.init_ee_from_token()


@pytest.fixture(scope="session")
Expand Down

0 comments on commit eb85416

Please sign in to comment.