Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Apr 9, 2024
1 parent 37f2d16 commit 739bab9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions stac_fastapi/types/tests/test_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@


def test_get_base_url_with_env():
env = {'REQUEST_BASE_URL': 'http://example.com/path/'}
env = {"REQUEST_BASE_URL": "http://example.com/path/"}
with mock.patch.dict(os.environ, env):
assert get_base_url(Request({"type": "http", "app": None})) == "http://example.com/path/"
assert (
get_base_url(Request({"type": "http", "app": None}))
== "http://example.com/path/"
)

0 comments on commit 739bab9

Please sign in to comment.