Skip to content

Commit aaf3c70

Browse files
committed
minor: reformat
1 parent f3e8251 commit aaf3c70

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/test_parser/test_properties/test_init.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def test_get_lazy_import_base_inner(self, list_property_factory):
147147
def test_get_lazy_import_model_inner(self, list_property_factory, model_property_factory):
148148
m = model_property_factory()
149149
p = list_property_factory(inner_property=m)
150-
assert p.get_lazy_imports(prefix="..") == {'from ..models.my_module import MyClass'}
150+
assert p.get_lazy_imports(prefix="..") == {"from ..models.my_module import MyClass"}
151151

152152
@pytest.mark.parametrize(
153153
"required, nullable, expected",
@@ -236,7 +236,7 @@ def test_get_lazy_import_base_inner(self, union_property_factory):
236236
def test_get_lazy_import_model_inner(self, union_property_factory, model_property_factory):
237237
m = model_property_factory()
238238
p = union_property_factory(inner_properties=[m])
239-
assert p.get_lazy_imports(prefix="..") == {'from ..models.my_module import MyClass'}
239+
assert p.get_lazy_imports(prefix="..") == {"from ..models.my_module import MyClass"}
240240

241241
@pytest.mark.parametrize(
242242
"nullable,required,no_optional,json,expected",

tests/test_parser/test_properties/test_model_property.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_get_imports(self, model_property_factory):
5959
[
6060
(False, "MyClass"),
6161
(True, "'MyClass'"),
62-
]
62+
],
6363
)
6464
def test_get_type_string_parent(self, model_property_factory, quoted, expected):
6565
parent = model_property_factory()

0 commit comments

Comments
 (0)