Skip to content

Commit

Permalink
[#13] apply black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
SonnyBA committed Sep 18, 2024
1 parent 9b25488 commit 8d15546
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 17 deletions.
8 changes: 2 additions & 6 deletions src/objects/tests/v1/test_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,9 +424,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 @@ -454,9 +452,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
8 changes: 2 additions & 6 deletions src/objects/tests/v2/test_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,9 +498,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 @@ -528,9 +526,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
6 changes: 3 additions & 3 deletions src/objects/tests/v2/test_stuf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


class Stuf21Tests(TokenAuthMixin, APITestCase):
""" # noqa
"""# noqa
Test cases based on the Table 2.1 in the StUF 03.01
|PersoonsId|volgnummer|geslachtsnaam|voorvoegsel|voorletters|geboortedatum|burgerlijkestaat|beginGeldigheid|
|----------|----------|-------------|-----------|-----------|-------------|----------------|---------------|
Expand Down 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 8d15546

Please sign in to comment.