mirror of
https://github.com/LukeHagar/connexion.git
synced 2025-12-09 12:27:46 +00:00
It's bad practice to derive custom exception classes from BaseException.
See https://www.python.org/dev/peps/pep-0352/
This commit is contained in:
@@ -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, validate_responses=True)
|
||||
build_app_from_fixture(default_param_error_spec_dir, validate_responses=True, debug=False)
|
||||
|
||||
Reference in New Issue
Block a user