Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-analytics-data-api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-analytics-data-api
Commits
7814e5b0
Commit
7814e5b0
authored
Oct 25, 2016
by
Tyler Hallada
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Uncomment test for "posted_forum" events
parent
4ccbe0d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
analytics_data_api/v0/tests/views/test_courses.py
+3
-3
No files found.
analytics_data_api/v0/tests/views/test_courses.py
View file @
7814e5b0
...
@@ -165,9 +165,9 @@ class CourseActivityLastWeekTest(DemoCourseMixin, TestCaseWithAuthentication):
...
@@ -165,9 +165,9 @@ class CourseActivityLastWeekTest(DemoCourseMixin, TestCaseWithAuthentication):
course_id
=
course_id
or
self
.
course_id
course_id
=
course_id
or
self
.
course_id
interval_start
=
datetime
.
datetime
(
2014
,
1
,
1
,
tzinfo
=
pytz
.
utc
)
interval_start
=
datetime
.
datetime
(
2014
,
1
,
1
,
tzinfo
=
pytz
.
utc
)
interval_end
=
interval_start
+
datetime
.
timedelta
(
weeks
=
1
)
interval_end
=
interval_start
+
datetime
.
timedelta
(
weeks
=
1
)
#
G(models.CourseActivityWeekly, course_id=course_id, interval_start=interval_start,
G
(
models
.
CourseActivityWeekly
,
course_id
=
course_id
,
interval_start
=
interval_start
,
#
interval_end=interval_end,
interval_end
=
interval_end
,
#
activity_type='POSTED_FORUM', count=100)
activity_type
=
'POSTED_FORUM'
,
count
=
100
)
G
(
models
.
CourseActivityWeekly
,
course_id
=
course_id
,
interval_start
=
interval_start
,
G
(
models
.
CourseActivityWeekly
,
course_id
=
course_id
,
interval_start
=
interval_start
,
interval_end
=
interval_end
,
interval_end
=
interval_end
,
activity_type
=
'ATTEMPTED_PROBLEM'
,
count
=
200
)
activity_type
=
'ATTEMPTED_PROBLEM'
,
count
=
200
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment