Skip to content

Commit

Permalink
refactor(test-data): uses black style
Browse files Browse the repository at this point in the history
  • Loading branch information
Dansk-Torskerognsforening committed Aug 2, 2024
1 parent a25ce9b commit 3ba9332
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions members/management/commands/create_dummy_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
Union_to_create(union_name="Hovedstaden", region_name="Region Hovedstaden"),
Union_to_create(union_name="Nordjylland", region_name="Region Nordjylland"),
Union_to_create(union_name="Midtjylland", region_name="Region Midtjylland"),
Union_to_create(union_name="Sjælland", region_name="Region Sjælland")
Union_to_create(union_name="Sjælland", region_name="Region Sjælland"),
]


Expand All @@ -43,7 +43,8 @@ def handle(self, *args, **options):
for union_to_create in UNIONS_TO_CREATE:
print(f"**Creating union: {union_to_create.union_name}**")
union = UnionFactory(
name=union_to_create.union_name, address=AddressFactory(region=union_to_create.region_name)
name=union_to_create.union_name,
address=AddressFactory(region=union_to_create.region_name),
)
departments = [
_create_department(union=union),
Expand Down

0 comments on commit 3ba9332

Please sign in to comment.