Skip to content

Commit

Permalink
fix path to geojson files
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienWehrle committed Dec 4, 2024
1 parent baa8bc7 commit 71c6e6a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_earthspy.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ def test_init(self) -> None:
"""Test auth.txt parsing and connection configuration."""

# check for credentials
assert self.t1.CLIENT_ID == SH_CLIENT_ID
assert self.t1.CLIENT_SECRET == SH_CLIENT_SECRET
assert self.t1.CLIENT_ID == self.SH_CLIENT_ID
assert self.t1.CLIENT_SECRET == self.SH_CLIENT_SECRET

# check if connection was properly setup
assert isinstance(self.t1.config, shb.config.SHConfig)
assert self.t1.config.sh_client_id == SH_CLIENT_ID
assert self.t1.config.sh_client_secret == SH_CLIENT_SECRET
assert self.t1.config.sh_client_id == self.SH_CLIENT_ID
assert self.t1.config.sh_client_secret == self.SH_CLIENT_SECRET

def test_set_query_parameters(self) -> None:
"""Test direct attribute assignment."""
Expand Down

0 comments on commit 71c6e6a

Please sign in to comment.