Skip to content

Commit

Permalink
Update test_corpus_init.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PonteIneptique authored Mar 15, 2024
1 parent fa03847 commit ab32edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_selenium/test_corpus_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,7 @@ def test_registration_without_field_length_violation(self):
self.assertFalse(self.driver_find_elements_by_css_selector(".alert.alert-danger"))

def test_corpus_name_unique_user(self):
""" Test that a single user can have twice the same name (even if weird)"""
self.add_control_lists()
self.add_user("foo", "foo")
self.login("%s.%s@ppa.fr" % ("foo", "foo"), self.app.config['ADMIN_PASSWORD'])
Expand All @@ -614,7 +615,6 @@ def test_corpus_name_unique_user(self):
self.driver_find_element_by_id("corpusName").send_keys("Wauchier")
self.driver_find_element_by_id("label_checkbox_reuse").click()
self.driver_find_element_by_id("control_list_select").click()
self.driver.get_screenshot_as_file("/home/jjanes/Documents/pyrrha/img1.png")
self.writeMultiline(
self.driver_find_element_by_id("tokens"),
f"form\tlemma\tPOS\tmorph\nSOIGNORS\tseignor\tNOMcom\tNOMB.=p|GENRE=m|CAS=n"
Expand Down

0 comments on commit ab32edc

Please sign in to comment.