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 @@ -66,7 +66,7 @@ async def event_schema_list() -> List[str]:
66
66
67
67
68
68
@router .post (
69
- "/ " ,
69
+ "" ,
70
70
openapi_extra = {
71
71
"requestBody" : {
72
72
"content" : {
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ async def test_event_returns_204(testapp):
41
41
)
42
42
async with AsyncClient (app = testapp , base_url = "http://test" ) as ac :
43
43
response = await ac .post (
44
- "/events/ " ,
44
+ "/events" ,
45
45
headers = {"content-type" : "application/cloudevents+json; charset=UTF-8" },
46
46
content = fake_event .model_dump_json (),
47
47
)
@@ -55,7 +55,7 @@ async def test_malformed_event_returns_422(testapp):
55
55
fake_event .dataschema = None
56
56
async with AsyncClient (app = testapp , base_url = "http://test" ) as ac :
57
57
response = await ac .post (
58
- "/events/ " ,
58
+ "/events" ,
59
59
headers = {"content-type" : "application/cloudevents+json; charset=UTF-8" },
60
60
content = fake_event .model_dump_json (),
61
61
)
@@ -68,7 +68,7 @@ async def test_wrong_content_type_returns_422(testapp):
68
68
)
69
69
async with AsyncClient (app = testapp , base_url = "http://test" ) as ac :
70
70
response = await ac .post (
71
- "/events/ " ,
71
+ "/events" ,
72
72
headers = {"content-type" : "application/json" },
73
73
content = fake_event .model_dump_json (),
74
74
)
You can’t perform that action at this time.
0 commit comments