Skip to content

Commit faca679

Browse files
committed
[#513] apply black formatting
1 parent 7b41926 commit faca679

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

src/objects/tests/v1/test_filters.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,9 @@ def test_filter_invalid_param(self):
217217
[
218218
_(
219219
"Filter expression '%(value_part)s' doesn't have the shape 'key__operator__value'"
220-
) % {"value_part": "diameter__exact"}
221-
]
220+
)
221+
% {"value_part": "diameter__exact"}
222+
],
222223
)
223224

224225
def test_filter_nested_attr(self):
@@ -431,9 +432,7 @@ def test_filter_registration_date_detail(self):
431432
object=object,
432433
registration_at="2020-01-01",
433434
)
434-
ObjectRecordFactory.create(
435-
object=object, registration_at="2021-01-01"
436-
)
435+
ObjectRecordFactory.create(object=object, registration_at="2021-01-01")
437436

438437
url = reverse_lazy("object-detail", args=[object.uuid])
439438

@@ -461,9 +460,7 @@ def test_filter_registration_date_list(self):
461460
record11 = ObjectRecordFactory.create(
462461
object=object1, registration_at="2020-01-01"
463462
)
464-
ObjectRecordFactory.create(
465-
object=object1, registration_at="2021-01-01"
466-
)
463+
ObjectRecordFactory.create(object=object1, registration_at="2021-01-01")
467464
# object 2 - don't show
468465
ObjectRecordFactory.create(
469466
object__object_type=self.object_type, registration_at="2021-01-01"

src/objects/tests/v1/test_stuf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def test_3b_3_records_not_found(self):
274274

275275

276276
class Stuf22Tests(TokenAuthMixin, APITestCase):
277-
""" # noqa
277+
"""# noqa
278278
Test cases based on the Table 2.2 in the StUF 03.01
279279
|PersoonsId|volgnummer|geslachtsnaam|voorvoegsel|voorletters|geboortedatum|burgerlijkestaat|beginGeldigheid|tijdstipRegistratie|
280280
|----------|----------|-------------|-----------|-----------|-------------|----------------|---------------|-------------------|
@@ -403,7 +403,7 @@ def test_4d_not_found(self):
403403

404404

405405
class Stuf23Tests(TokenAuthMixin, APITestCase):
406-
""" # noqa
406+
"""# noqa
407407
Test cases based on the Table 2.2 in the StUF 03.01
408408
|PersoonsId|volgnummer|geslachtsnaam|voorvoegsel|voorletters|geboortedatum|burgerlijkestaat|beginGeldigheid|tijdstipRegistratie|volgnrNaCorrectie|
409409
|----------|----------|-------------|-----------|-----------|-------------|----------------|---------------|-------------------|-----------------|

0 commit comments

Comments
 (0)