Skip to content

Commit

Permalink
test(fixture): revert split nomenclature
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Vergez authored and jacquesfize committed Jan 26, 2024
1 parent 79c0449 commit 39ece55
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions backend/geonature/tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,14 +615,13 @@ def synthese_sensitive_data(app, users, datasets, source):
data[name] = s

# Assert that obs_sensitive_protected is a sensitive observation
nomenclature_not_sensitive = (
id_nomenclature_not_sensitive = (
TNomenclatures.query.filter(
TNomenclatures.nomenclature_type.has(BibNomenclaturesTypes.mnemonique == "SENSIBILITE")
)
.filter(TNomenclatures.cd_nomenclature == "0")
.one()
)
id_nomenclature_not_sensitive = nomenclature_not_sensitive.id_nomenclature
).id_nomenclature

synthese_to_assert = Synthese.query.filter(
Synthese.id_synthese.in_(
Expand Down

0 comments on commit 39ece55

Please sign in to comment.