Skip to content

Commit ea0ea7a

Browse files
committed
fixup! migrate staff-evaluation-edit.ts to python
1 parent 74d0564 commit ea0ea7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

evap/staff/tests/test_live.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def test_submit_changes_form_data(self):
4040
role=Contribution.Role.EDITOR,
4141
)
4242

43-
self.enter_staff_mode()
44-
self.selenium.get(self.live_server_url + reverse("staff:evaluation_edit", args=[evaluation.pk]))
43+
with self.enter_staff_mode:
44+
self.selenium.get(self.live_server_url + reverse("staff:evaluation_edit", args=[evaluation.pk]))
4545

4646
row = self.wait.until(visibility_of_element_located((By.CSS_SELECTOR, "#id_contributions-0-contributor")))
4747
tomselect_options = row.get_property("tomselect")["options"]

0 commit comments

Comments
 (0)