File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments