(improvement): Formats and Lints Code - Minor Changes
This commit is contained in:
@@ -99,4 +99,4 @@ class TestConstTypeParser(TestCase):
|
||||
self.assertIn(
|
||||
"Const type invalid_country must have 'const' value of allowed types",
|
||||
str(context.exception),
|
||||
)
|
||||
)
|
||||
|
||||
@@ -81,7 +81,7 @@ class TestEnumTypeParser(TestCase):
|
||||
|
||||
def test_enum_type_parser_throws_invalid_enum_value(self):
|
||||
parser = EnumTypeParser()
|
||||
|
||||
|
||||
schema = {
|
||||
"enum": ["value1", 42, dict()],
|
||||
}
|
||||
|
||||
@@ -18,4 +18,4 @@ class TestGenericTypeParser(TestCase):
|
||||
|
||||
def test_get_impl_invalid_type(self):
|
||||
with self.assertRaises(ValueError):
|
||||
GenericTypeParser._get_impl({"type": "invalid_type"})
|
||||
GenericTypeParser._get_impl({"type": "invalid_type"})
|
||||
|
||||
Reference in New Issue
Block a user