Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Feb 1, 2024
1 parent 819203b commit 073de36
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions edc_appointment/tests/tests/test_window_period.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,7 @@ def test_appointments_window_period_unscheduled(self):
form.is_valid()
# form.save(commit=True)
self.assertIn("appt_datetime", form._errors)
self.assertIn(
"Falls outside of the window period", form._errors.get("appt_datetime")[0]
)
self.assertIn("Invalid. Expected a date between", form._errors.get("appt_datetime")[0])

def test_match_appt_date_to_visit_code(self):
self.helper.consent_and_put_on_schedule(
Expand Down

0 comments on commit 073de36

Please sign in to comment.