test compliance with openapi specs

pull/148/head
Tim Vahlbrock 2 years ago
parent e22d90c3b5
commit c57a8646bc
No known key found for this signature in database

@ -71,3 +71,17 @@ def test_mitmproxy2swagger_compliance_from_msgpack_file_with_headers():
)
assert data is not None
validate_spec(data)
def test_mitmproxy2swagger_compliance_from_generic_keys_file_with_headers():
data = mitmproxy2swagger_e2e_test(
"testdata/generic_keys_flows",
"http://localhost:8082/",
[
"--format",
"flow",
"--headers",
],
)
assert data is not None
validate_spec(data)

Loading…
Cancel
Save