Skip to content

Commit

Permalink
tests(api): add missing attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
vmttn committed Jun 11, 2024
1 parent d9985c0 commit a6cdb7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/tests/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ class Meta:
sqlalchemy_session_persistence = "commit"

_di_surrogate_id = factory.Faker("uuid4")
_di_structure_surrogate_id = factory.SelfAttribute("structure._di_surrogate_id")
_di_geocodage_code_insee = factory.SelfAttribute("code_insee")
_di_geocodage_score = factory.Faker(
"pyfloat", right_digits=2, positive=True, max_value=1
Expand Down

0 comments on commit a6cdb7c

Please sign in to comment.