Skip to content

Commit

Permalink
formatted change
Browse files Browse the repository at this point in the history
  • Loading branch information
ljstrnadiii committed Feb 14, 2024
1 parent f83c749 commit af97750
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions xee/ext_integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,18 @@


def _read_identity_pool_creds() -> identity_pool.Credentials:
credentials_path = os.environ[_CREDENTIALS_PATH_KEY]
with open(credentials_path) as file:
json_file = json.load(file)
credentials = identity_pool.Credentials.from_info(json_file)
return credentials.with_scopes(_SCOPES)
credentials_path = os.environ[_CREDENTIALS_PATH_KEY]
with open(credentials_path) as file:
json_file = json.load(file)
credentials = identity_pool.Credentials.from_info(json_file)
return credentials.with_scopes(_SCOPES)


def init_ee_for_tests():
ee.Initialize(
credentials=_read_identity_pool_creds(),
opt_url=ee.data.HIGH_VOLUME_API_BASE_URL,
)
ee.Initialize(
credentials=_read_identity_pool_creds(),
opt_url=ee.data.HIGH_VOLUME_API_BASE_URL,
)


class EEBackendArrayTest(absltest.TestCase):
Expand Down

0 comments on commit af97750

Please sign in to comment.