Skip to content

Commit

Permalink
fix: creation of the occupation_family object in the `initialize_te…
Browse files Browse the repository at this point in the history
…sts` function.
  • Loading branch information
TanookiVerde committed Jun 25, 2024
1 parent dc087f1 commit 144bd7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async def initialize_tests(
gender = await Gender.create(slug="male", name="male")
race = await Race.create(slug="parda", name="parda")
nationality = await Nationality.create(slug="B", name="B")
occupation_family = await OccupationFamily.get_or_create(
occupation_family, _ = await OccupationFamily.get_or_create(
code="1114",
defaults={"name": "Test occupation family"}
)
Expand Down

0 comments on commit 144bd7b

Please sign in to comment.