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 ...@@ -392,7 +392,7 @@ class CourseEnrollmentByGenderViewTests(CourseEnrollmentViewTestCaseMixin, Defau
# pylint: disable=no-member,no-value-for-parameter # pylint: disable=no-member,no-value-for-parameter
class AnswerDistributionTests(TestCaseWithAuthentication): class AnswerDistributionTests(TestCaseWithAuthentication):
path = '/answer_distribution' path = '/answer_distribution/'
maxDiff = None maxDiff = None
@classmethod @classmethod
...@@ -630,7 +630,7 @@ class CourseActivityWeeklyViewTests(CourseViewTestCaseMixin, TestCaseWithAuthent ...@@ -630,7 +630,7 @@ class CourseActivityWeeklyViewTests(CourseViewTestCaseMixin, TestCaseWithAuthent
# pylint: disable=no-member,no-value-for-parameter # pylint: disable=no-member,no-value-for-parameter
class GradeDistributionTests(TestCaseWithAuthentication): class GradeDistributionTests(TestCaseWithAuthentication):
path = '/grade_distribution' path = '/grade_distribution/'
maxDiff = None maxDiff = None
@classmethod @classmethod
...@@ -659,7 +659,7 @@ class GradeDistributionTests(TestCaseWithAuthentication): ...@@ -659,7 +659,7 @@ class GradeDistributionTests(TestCaseWithAuthentication):
# pylint: disable=no-member,no-value-for-parameter # pylint: disable=no-member,no-value-for-parameter
class SequentialOpenDistributionTests(TestCaseWithAuthentication): class SequentialOpenDistributionTests(TestCaseWithAuthentication):
path = '/sequential_open_distribution' path = '/sequential_open_distribution/'
maxDiff = None maxDiff = None
@classmethod @classmethod
......
...@@ -13,9 +13,9 @@ PROBLEM_URLS = [ ...@@ -13,9 +13,9 @@ PROBLEM_URLS = [
urlpatterns = patterns( 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'), SequentialOpenDistributionView.as_view(), name='sequential_open_distribution'),
) )
for path, view, name in PROBLEM_URLS: 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