@@ -37,7 +37,7 @@ def supports_framework(self, framework: str, mode: EndpointMode) -> bool:
37
37
class TestCategory :
38
38
name : EndpointCategory
39
39
endpoints : list [Endpoint ]
40
- frameworks : tuple [Framework , ...] = ("starlite" , "starlette" , "fastapi" , "sanic" , "blacksheep" )
40
+ frameworks : tuple [Framework , ...] = ("starlite" , "starlette" , "fastapi" , "sanic" , "blacksheep" , "quart" )
41
41
42
42
43
43
TEST_CATEGORIES : list [TestCategory ] = [
@@ -67,12 +67,12 @@ class TestCategory:
67
67
TestCategory (
68
68
name = "files" ,
69
69
endpoints = [
70
- Endpoint (path = "file-response-100B" , name = "file response 100 bytes" , exclude_sync = ["sanic" ]),
71
- Endpoint (path = "file-response-1K" , name = "file response 1 kB" , exclude_sync = ["sanic" ]),
72
- Endpoint (path = "file-response-10K" , name = "file response 10 kB" , exclude_sync = ["sanic" ]),
73
- Endpoint (path = "file-response-100K" , name = "file response 100 kB" , exclude_sync = ["sanic" ]),
74
- Endpoint (path = "file-response-500K" , name = "file response 500 kB" , exclude_sync = ["sanic" ]),
75
- Endpoint (path = "file-response-1M" , name = "file response 1 MB" , exclude_sync = ["sanic" ]),
70
+ Endpoint (path = "file-response-100B" , name = "file response 100 bytes" , exclude_sync = ["sanic" , "quart" ]),
71
+ Endpoint (path = "file-response-1K" , name = "file response 1 kB" , exclude_sync = ["sanic" , "quart" ]),
72
+ Endpoint (path = "file-response-10K" , name = "file response 10 kB" , exclude_sync = ["sanic" , "quart" ]),
73
+ Endpoint (path = "file-response-100K" , name = "file response 100 kB" , exclude_sync = ["sanic" , "quart" ]),
74
+ Endpoint (path = "file-response-500K" , name = "file response 500 kB" , exclude_sync = ["sanic" , "quart" ]),
75
+ Endpoint (path = "file-response-1M" , name = "file response 1 MB" , exclude_sync = ["sanic" , "quart" ]),
76
76
],
77
77
),
78
78
TestCategory (
@@ -120,35 +120,35 @@ class TestCategory:
120
120
name = "post json, 1kB" ,
121
121
headers = [("Content-Type" , "application/json" )],
122
122
body_file = "1K.json" ,
123
- exclude_sync = ["starlette" , "blacksheep" ],
123
+ exclude_sync = ["starlette" , "blacksheep" , "quart" ],
124
124
),
125
125
Endpoint (
126
126
path = "post-json" ,
127
127
name = "post json, 10kB" ,
128
128
headers = [("Content-Type" , "application/json" )],
129
129
body_file = "10K.json" ,
130
- exclude_sync = ["starlette" , "blacksheep" ],
130
+ exclude_sync = ["starlette" , "blacksheep" , "quart" ],
131
131
),
132
132
Endpoint (
133
133
path = "post-json" ,
134
134
name = "post json, 100kB" ,
135
135
headers = [("Content-Type" , "application/json" )],
136
136
body_file = "100K.json" ,
137
- exclude_sync = ["starlette" , "blacksheep" ],
137
+ exclude_sync = ["starlette" , "blacksheep" , "quart" ],
138
138
),
139
139
Endpoint (
140
140
path = "post-json" ,
141
141
name = "post json, 500kB" ,
142
142
headers = [("Content-Type" , "application/json" )],
143
143
body_file = "500K.json" ,
144
- exclude_sync = ["starlette" , "blacksheep" ],
144
+ exclude_sync = ["starlette" , "blacksheep" , "quart" ],
145
145
),
146
146
Endpoint (
147
147
path = "post-json" ,
148
148
name = "post json, 1M" ,
149
149
headers = [("Content-Type" , "application/json" )],
150
150
body_file = "1M.json" ,
151
- exclude_sync = ["starlette" , "blacksheep" ],
151
+ exclude_sync = ["starlette" , "blacksheep" , "quart" ],
152
152
),
153
153
],
154
154
),
@@ -160,21 +160,21 @@ class TestCategory:
160
160
name = "post form, multipart, 1K" ,
161
161
headers = list (test_data .MULTIPART_1K_HEADERS .items ()),
162
162
body_file = "MULTIPART_1K" ,
163
- exclude_sync = ["starlette" , "fastapi" , "blacksheep" ],
163
+ exclude_sync = ["starlette" , "fastapi" , "blacksheep" , "quart" ],
164
164
),
165
165
Endpoint (
166
166
path = "post-form-urlencoded" ,
167
167
name = "post form, urlencoded, 1K" ,
168
168
headers = list (test_data .FORM_URLENCODED_1K_HEADERS .items ()),
169
169
body_file = "FORM_URLENCODED_1K" ,
170
- exclude_sync = ["starlette" , "fastapi" ],
170
+ exclude_sync = ["starlette" , "fastapi" , "quart" ],
171
171
),
172
172
Endpoint (
173
173
path = "post-file" ,
174
174
name = "post file, 1K" ,
175
175
body_file = "FILE_UPLOAD_1K" ,
176
176
headers = list (test_data .FILE_UPLOAD_1K_HEADERS .items ()),
177
- exclude_sync = ["starlette" ],
177
+ exclude_sync = ["starlette" , "quart" ],
178
178
),
179
179
],
180
180
),
0 commit comments