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
6096bae7
Commit
6096bae7
authored
Aug 14, 2014
by
Mat Peterson
Committed by
Ben McMorran
Aug 21, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skipping rerun test on feature flag conditional
parent
00889782
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
cms/djangoapps/contentstore/tests/test_contentstore.py
+4
-0
No files found.
cms/djangoapps/contentstore/tests/test_contentstore.py
View file @
6096bae7
...
...
@@ -47,6 +47,9 @@ from student.roles import CourseCreatorRole, CourseInstructorRole
from
opaque_keys
import
InvalidKeyError
from
contentstore.tests.utils
import
get_url
from
course_action_state.models
import
CourseRerunState
,
CourseRerunUIStateManager
from
unittest
import
skipIf
from
course_action_state.managers
import
CourseActionStateItemNotFoundError
...
...
@@ -1632,6 +1635,7 @@ class RerunCourseTest(ContentStoreTestCase):
self
.
assertInCourseListing
(
source_course
.
id
)
self
.
assertInCourseListing
(
destination_course_key
)
@skipIf
(
not
settings
.
FEATURES
.
get
(
'ALLOW_COURSE_RERUNS'
,
False
),
"ALLOW_COURSE_RERUNS are not enabled"
)
def
test_rerun_course_fail_no_source_course
(
self
):
existent_course_key
=
CourseFactory
.
create
()
.
id
non_existent_course_key
=
CourseLocator
(
"org"
,
"non_existent_course"
,
"non_existent_run"
)
...
...
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