Skip to content

Commit

Permalink
Correction tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amandine-sahl committed Oct 12, 2023
1 parent d4c8e89 commit 9b296c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apptax/tests/test_taxref.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class TestAPITaxref:
def test_get_allnamebyListe_routes(self):
query_string = {"limit": 10}
response = self.client.get(
url_for("taxref.get_AllTaxrefNameByListe", code_liste="100"), query_string=query_string
url_for("taxref.get_AllTaxrefNameByListe", id_liste="100"), query_string=query_string
)
assert response.status_code == 200
data = response.json
Expand All @@ -41,7 +41,7 @@ def test_get_allnamebyListe_routes_without_list(self):
"group2_inpn": "Angiospermes",
}
response = self.client.get(
url_for("taxref.get_AllTaxrefNameByListe", code_liste=-1), query_string=query_string
url_for("taxref.get_AllTaxrefNameByListe", id_liste=-1), query_string=query_string
)
assert response.status_code == 200
data = response.json
Expand Down

0 comments on commit 9b296c3

Please sign in to comment.