Add flag for strict_validation on extra parameters

This commit is contained in:
Dylan Semler
2016-05-13 10:58:24 -04:00
parent f1d436c859
commit b7c6dede95
7 changed files with 58 additions and 19 deletions

View File

@@ -127,4 +127,4 @@ def test_add_api_with_function_resolver_function_is_wrapped(simple_api_spec_dir)
def test_default_query_param_does_not_match_defined_type(
default_param_error_spec_dir):
with pytest.raises(InvalidSpecification):
build_app_from_fixture(default_param_error_spec_dir)
build_app_from_fixture(default_param_error_spec_dir, validate_responses=True)