Skip to content

Commit 2f9f6b1

Browse files
committed
update from review
1 parent 6ba756e commit 2f9f6b1

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

tests/resources/test_mgmt.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,11 @@ async def test_health_503(database):
5252
body = res.json()
5353
assert body["status"] == "DOWN"
5454
assert body["lifespan"]["status"] == "DOWN"
55-
assert body["lifespan"]["message"] == "application lifespan wasn't ran"
55+
assert body["lifespan"]["message"] == "application lifespan wasn't run"
5656
assert body["pgstac"]["status"] == "DOWN"
5757
assert body["pgstac"]["message"] == "Could not connect to database"
5858

5959
# No lifespan so no `get_connection` is application state
60-
api = StacApi(
61-
settings=Settings(testing=True),
62-
extensions=[],
63-
client=CoreCrudClient(),
64-
health_check=health_check,
65-
)
66-
6760
postgres_settings = PostgresSettings(
6861
postgres_user=database.user,
6962
postgres_pass=database.password,

0 commit comments

Comments
 (0)