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
7aa25025
Commit
7aa25025
authored
Feb 05, 2014
by
Brian Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add mock to test requirements.
parent
126ae6f7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
edx/analytics/tasks/tests/test_course_enroll.py
+1
-0
requirements/test.txt
+3
-2
No files found.
edx/analytics/tasks/tests/test_course_enroll.py
View file @
7aa25025
...
@@ -66,6 +66,7 @@ class CourseEnrollEventMapTest(unittest.TestCase):
...
@@ -66,6 +66,7 @@ class CourseEnrollEventMapTest(unittest.TestCase):
def
test_missing_event_type
(
self
):
def
test_missing_event_type
(
self
):
event_dict
=
self
.
_create_event_dict
()
event_dict
=
self
.
_create_event_dict
()
event_dict
[
'old_event_type'
]
=
event_dict
[
'event_type'
]
del
event_dict
[
'event_type'
]
del
event_dict
[
'event_type'
]
line
=
json
.
dumps
(
event_dict
)
line
=
json
.
dumps
(
event_dict
)
self
.
assert_no_output_for
(
line
)
self
.
assert_no_output_for
(
line
)
...
...
requirements/test.txt
View file @
7aa25025
nose
nose
==1.3.0
nose-ignore-docstring
nose-ignore-docstring
==0.2
coverage==3.7
coverage==3.7
pep8==1.4.5
pep8==1.4.5
pylint==0.28
pylint==0.28
diff-cover >= 0.2.1
diff-cover >= 0.2.1
mock==1.0.1
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