Skip to content

Commit

Permalink
fix missing column name in test synthese
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Feb 13, 2024
1 parent 81ed18a commit 3228bae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/geonature/tests/test_synthese.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ def test_get_observations_for_web_filter_group_inpn(self, users, synthese_data,
group_from_taxref = getattr(taxref_from_cd_nom, group_inpn)
filter_name = "taxonomie_" + group_inpn

set_logged_user_cookie(self.client, users["self_user"])
set_logged_user(self.client, users["self_user"])
response = self.client.get(
url_for("gn_synthese.get_observations_for_web"),
json={
Expand Down Expand Up @@ -759,7 +759,7 @@ def assert_export_taxons_results(user, set_expected_cd_ref):
rows_data_response = response.data.decode("utf-8").split("\r\n")[0:-1]
row_header = rows_data_response[0]
rows_taxons_data_response = rows_data_response[1:]

print(row_header.split(";"), expected_columns_exports)
assert row_header.split(";") == expected_columns_exports

nb_expected_cd_noms = len(set_expected_cd_ref)
Expand Down

0 comments on commit 3228bae

Please sign in to comment.