Browse Source
Update header model snapshots for omitted defaults
pull/15269/head
giria660
2 months ago
No known key found for this signature in database
GPG Key ID: 3D8290B3CD372BA4
3 changed files with
1 additions and
4 deletions
-
tests/test_tutorial/test_header_param_models/test_tutorial001.py
-
tests/test_tutorial/test_header_param_models/test_tutorial002.py
-
tests/test_tutorial/test_header_param_models/test_tutorial003.py
|
|
|
@ -65,7 +65,6 @@ def test_header_param_model_invalid(client: TestClient): |
|
|
|
"loc": ["header", "save_data"], |
|
|
|
"msg": "Field required", |
|
|
|
"input": { |
|
|
|
"x_tag": [], |
|
|
|
"host": "testserver", |
|
|
|
"accept": "*/*", |
|
|
|
"accept-encoding": "gzip, deflate", |
|
|
|
|
|
|
|
@ -65,7 +65,7 @@ def test_header_param_model_invalid(client: TestClient): |
|
|
|
"type": "missing", |
|
|
|
"loc": ["header", "save_data"], |
|
|
|
"msg": "Field required", |
|
|
|
"input": {"x_tag": [], "host": "testserver"}, |
|
|
|
"input": {"host": "testserver"}, |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
|
|
@ -64,7 +64,6 @@ def test_header_param_model_no_underscore(client: TestClient): |
|
|
|
"input": { |
|
|
|
"host": "testserver", |
|
|
|
"traceparent": "123", |
|
|
|
"x_tag": [], |
|
|
|
"accept": "*/*", |
|
|
|
"accept-encoding": "gzip, deflate", |
|
|
|
"connection": "keep-alive", |
|
|
|
@ -102,7 +101,6 @@ def test_header_param_model_invalid(client: TestClient): |
|
|
|
"loc": ["header", "save_data"], |
|
|
|
"msg": "Field required", |
|
|
|
"input": { |
|
|
|
"x_tag": [], |
|
|
|
"host": "testserver", |
|
|
|
"accept": "*/*", |
|
|
|
"accept-encoding": "gzip, deflate", |
|
|
|
|