Skip to content

Commit

Permalink
[test] Update taxref_schema add cd_ba + nomenclatural_comment
Browse files Browse the repository at this point in the history
  • Loading branch information
amandine-sahl committed Jan 16, 2025
1 parent 934e03f commit 08898e1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apptax/tests/test_taxref.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,15 @@ class TestAPITaxref:
"cd_taxsup": Or(None, int),
"cd_sup": Or(None, int),
"cd_ref": int,
"cd_ba": Or(None, int),
"lb_nom": str,
"lb_auteur": str,
"nom_complet": str,
"nom_complet_html": str,
"nom_vern": Or(None, str),
"nom_valide": str,
"nom_vern_eng": Or(None, str),
"nomenclatural_comment": Or(None, str),
"group1_inpn": str,
"group2_inpn": str,
"group3_inpn": Or(None, str),
Expand All @@ -76,13 +78,15 @@ class TestAPITaxref:
"cd_taxsup": Or(None, int),
"cd_sup": Or(None, int),
"cd_ref": int,
"cd_ba": Or(None, int),
"lb_nom": str,
"lb_auteur": str,
"nom_complet": str,
"nom_complet_html": str,
"nom_vern": Or(None, str),
"nom_valide": str,
"nom_vern_eng": Or(None, str),
"nomenclatural_comment": Or(None, str),
"group1_inpn": str,
"group2_inpn": str,
"group3_inpn": Or(None, str),
Expand Down Expand Up @@ -268,7 +272,7 @@ def test_taxrefversion_routes(self):
response = self.client.get(url_for("taxref.getTaxrefVersion"))
assert response.status_code == 200
assert (
json.loads(response.data)["version"] == 17
json.loads(response.data)["version"] == 18
) # FIXME: Comment faire si quelqu'un a besoin de taxref dans une différente version...

def test_get_groupe3_inpn(self):
Expand Down

0 comments on commit 08898e1

Please sign in to comment.