Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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-platform
Commits
39ac2579
Commit
39ac2579
authored
Dec 22, 2015
by
John Eskew
Committed by
Clinton Blackburn
May 02, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Import test course instead of using XML-backed course.
parent
2090f073
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lms/djangoapps/django_comment_client/tests/test_utils.py
+2
-2
No files found.
lms/djangoapps/django_comment_client/tests/test_utils.py
View file @
39ac2579
...
...
@@ -25,7 +25,7 @@ from openedx.core.djangoapps.content.course_structures.models import CourseStruc
from
openedx.core.djangoapps.util.testing
import
ContentGroupTestCase
from
student.roles
import
CourseStaffRole
from
xmodule.modulestore
import
ModuleStoreEnum
from
xmodule.modulestore.tests.factories
import
CourseFactory
,
ItemFactory
from
xmodule.modulestore.tests.factories
import
CourseFactory
,
ItemFactory
,
ToyCourseFactory
from
xmodule.modulestore.tests.django_utils
import
ModuleStoreTestCase
,
TEST_DATA_MIXED_TOY_MODULESTORE
from
xmodule.modulestore.django
import
modulestore
from
opaque_keys.edx.locator
import
CourseLocator
...
...
@@ -1255,7 +1255,7 @@ class IsCommentableCohortedTestCase(ModuleStoreTestCase):
Make sure that course is reloaded every time--clear out the modulestore.
"""
super
(
IsCommentableCohortedTestCase
,
self
)
.
setUp
()
self
.
toy_course_key
=
CourseLocator
(
"edX"
,
"toy"
,
"2012_Fall"
,
deprecated
=
True
)
self
.
toy_course_key
=
ToyCourseFactory
.
create
()
.
id
def
test_is_commentable_cohorted
(
self
):
course
=
modulestore
()
.
get_course
(
self
.
toy_course_key
)
...
...
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