Skip to content

Commit

Permalink
Add tests for france_services and is_private_org
Browse files Browse the repository at this point in the history
  • Loading branch information
tut-tuuut committed Mar 21, 2022
1 parent c497efc commit a6ead7c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ def test_form_normal_organisation(self):
Select(self.selenium.find_element(By.ID, "id_type")).select_by_value(
str(request.type.id)
)
self.selenium.find_element(By.ID, "id_france_services_label").click()

for field in [
"name",
"siret",
"address",
"zipcode",
"city",
"partner_administration",
"france_services_label",
"france_services_number", # only if france_service_label=True
"web_site",
"mission_description",
"avg_nb_demarches",
Expand Down Expand Up @@ -76,15 +76,15 @@ def test_form_other_organisation(self):
)

self.selenium.find_element(By.ID, "id_type_other").send_keys(request.type_other)
self.selenium.find_element(By.ID, "id_is_private_org").click()

for field in [
"name",
"siret",
"address",
"zipcode",
"city",
"partner_administration",
"france_services_label",
"partner_administration", # only if is_private_org=True
"web_site",
"mission_description",
"avg_nb_demarches",
Expand Down

0 comments on commit a6ead7c

Please sign in to comment.