Commit a4661623 by Clinton Blackburn

Merge pull request #43 from edx/dylanrhodes/aggregate_data_apis

Added missing forward slash to API endpoints
parents e0fe7588 ec134789
......@@ -392,7 +392,7 @@ class CourseEnrollmentByGenderViewTests(CourseEnrollmentViewTestCaseMixin, Defau
# pylint: disable=no-member,no-value-for-parameter
class AnswerDistributionTests(TestCaseWithAuthentication):
path = '/answer_distribution'
path = '/answer_distribution/'
maxDiff = None
@classmethod
......@@ -630,7 +630,7 @@ class CourseActivityWeeklyViewTests(CourseViewTestCaseMixin, TestCaseWithAuthent
# pylint: disable=no-member,no-value-for-parameter
class GradeDistributionTests(TestCaseWithAuthentication):
path = '/grade_distribution'
path = '/grade_distribution/'
maxDiff = None
@classmethod
......@@ -659,7 +659,7 @@ class GradeDistributionTests(TestCaseWithAuthentication):
# pylint: disable=no-member,no-value-for-parameter
class SequentialOpenDistributionTests(TestCaseWithAuthentication):
path = '/sequential_open_distribution'
path = '/sequential_open_distribution/'
maxDiff = None
@classmethod
......
......@@ -13,9 +13,9 @@ PROBLEM_URLS = [
urlpatterns = patterns(
'',
url(r'^(?P<module_id>.+)/sequential_open_distribution$',
url(r'^(?P<module_id>.+)/sequential_open_distribution/$',
SequentialOpenDistributionView.as_view(), name='sequential_open_distribution'),
)
for path, view, name in PROBLEM_URLS:
urlpatterns += patterns('', url(r'^(?P<problem_id>.+)/' + re.escape(path) + r'$', view.as_view(), name=name))
urlpatterns += patterns('', url(r'^(?P<problem_id>.+)/' + re.escape(path) + r'/$', view.as_view(), name=name))
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