Skip to content

Commit

Permalink
test: Fix URL in test_edit_meeting_schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-richards committed Feb 16, 2023
1 parent 9cf9aa0 commit 5982ab1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ietf/meeting/tests_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -3231,10 +3231,11 @@ def test_edit_meeting_schedule(self):
e = q("#session{}".format(s.pk))

# should be link to edit/cancel session
edit_session_url = urlreverse(
'ietf.meeting.views.edit_session', kwargs={'session_id': s.pk}
) + f'?sched={meeting.schedule.pk}'
self.assertTrue(
e.find('a[href="{}"]'.format(
urlreverse('ietf.meeting.views.edit_session', kwargs={'session_id': s.pk}),
))
e.find(f'a[href="{edit_session_url}"]')
)
self.assertTrue(
e.find('a[href="{}?sched={}"]'.format(
Expand Down

0 comments on commit 5982ab1

Please sign in to comment.