Skip to content

Commit

Permalink
[#513] apply black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonny Bakker committed Jan 9, 2025
1 parent 3994e6d commit be5daf5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
13 changes: 5 additions & 8 deletions src/objects/tests/v1/test_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,9 @@ def test_filter_invalid_param(self):
[
_(
"Filter expression '%(value_part)s' doesn't have the shape 'key__operator__value'"
) % {"value_part": "diameter__exact"}
]
)
% {"value_part": "diameter__exact"}
],
)

def test_filter_nested_attr(self):
Expand Down Expand Up @@ -431,9 +432,7 @@ def test_filter_registration_date_detail(self):
object=object,
registration_at="2020-01-01",
)
ObjectRecordFactory.create(
object=object, registration_at="2021-01-01"
)
ObjectRecordFactory.create(object=object, registration_at="2021-01-01")

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

Expand Down Expand Up @@ -461,9 +460,7 @@ def test_filter_registration_date_list(self):
record11 = ObjectRecordFactory.create(
object=object1, registration_at="2020-01-01"
)
ObjectRecordFactory.create(
object=object1, registration_at="2021-01-01"
)
ObjectRecordFactory.create(object=object1, registration_at="2021-01-01")
# object 2 - don't show
ObjectRecordFactory.create(
object__object_type=self.object_type, registration_at="2021-01-01"
Expand Down
4 changes: 2 additions & 2 deletions src/objects/tests/v1/test_stuf.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def test_3b_3_records_not_found(self):


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


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

0 comments on commit be5daf5

Please sign in to comment.