(improvement): Formats and Lints Code - Minor Changes

This commit is contained in:
2025-08-20 01:12:56 -03:00
parent 4055efa5bf
commit 71380073e4
7 changed files with 8 additions and 12 deletions

View File

@@ -99,4 +99,4 @@ class TestConstTypeParser(TestCase):
self.assertIn(
"Const type invalid_country must have 'const' value of allowed types",
str(context.exception),
)
)

View File

@@ -81,7 +81,7 @@ class TestEnumTypeParser(TestCase):
def test_enum_type_parser_throws_invalid_enum_value(self):
parser = EnumTypeParser()
schema = {
"enum": ["value1", 42, dict()],
}

View File

@@ -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"})