File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ def _assert_dependency_applied(api, routes):
34
34
), "Unauthenticated requests should be rejected"
35
35
assert response .json () == {"detail" : "Not authenticated" }
36
36
37
- make_request = getattr (client , route ["method" ].lower ())
38
37
path = route ["path" ].format (
39
38
collectionId = "test_collection" , itemId = "test_item"
40
39
)
41
- response = make_request (
42
- path ,
40
+ response = client .request (
41
+ method = route ["method" ].lower (),
42
+ url = path ,
43
43
auth = ("bob" , "dobbs" ),
44
44
data = '{"dummy": "payload"}' ,
45
45
headers = {"content-type" : "application/json" },
Original file line number Diff line number Diff line change 6
6
desc = f .read ()
7
7
8
8
install_requires = [
9
- "fastapi>=0.73.0,<0.87 " ,
9
+ "fastapi>=0.73.0" ,
10
10
"attrs" ,
11
11
"pydantic[dotenv]" ,
12
12
"stac_pydantic==2.0.*" ,
You can’t perform that action at this time.
0 commit comments