Commit eceb8318 by Usman Khalid

Merge pull request #3833 from edx/usman/lms2738-verify-student-urls

Added trailing slashes to verify_student app urls.
parents 3aa45989 1ecfac3f
......@@ -5,5 +5,5 @@ from course_modes import views
urlpatterns = patterns(
'',
url(r'^choose/(?P<course_id>[^/]+/[^/]+/[^/]+)$', views.ChooseModeView.as_view(), name="course_modes_choose"),
url(r'^choose/(?P<course_id>[^/]+/[^/]+/[^/]+)/$', views.ChooseModeView.as_view(), name="course_modes_choose"),
)
......@@ -281,7 +281,7 @@ def see_that_i_am_on_the_verified_track(step):
@step(u'I leave the flow and return$')
def leave_the_flow_and_return(step):
world.visit('verify_student/verified/edx/999/Certificates')
world.visit('verify_student/verified/edx/999/Certificates/')
@step(u'I am at the verified page$')
......
......@@ -5,19 +5,19 @@ from verify_student import views
urlpatterns = patterns(
'',
url(
r'^show_requirements/(?P<course_id>[^/]+/[^/]+/[^/]+)$',
r'^show_requirements/(?P<course_id>[^/]+/[^/]+/[^/]+)/$',
views.show_requirements,
name="verify_student_show_requirements"
),
url(
r'^verify/(?P<course_id>[^/]+/[^/]+/[^/]+)$',
r'^verify/(?P<course_id>[^/]+/[^/]+/[^/]+)/$',
views.VerifyView.as_view(), # pylint: disable=E1120
name="verify_student_verify"
),
url(
r'^verified/(?P<course_id>[^/]+/[^/]+/[^/]+)$',
r'^verified/(?P<course_id>[^/]+/[^/]+/[^/]+)/$',
views.VerifiedView.as_view(),
name="verify_student_verified"
),
......@@ -41,7 +41,7 @@ urlpatterns = patterns(
),
url(
r'^midcourse_reverify/(?P<course_id>[^/]+/[^/]+/[^/]+)$',
r'^midcourse_reverify/(?P<course_id>[^/]+/[^/]+/[^/]+)/$',
views.MidCourseReverifyView.as_view(), # pylint: disable=E1120
name="verify_student_midcourse_reverify"
),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment