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
ef5c23c5
Commit
ef5c23c5
authored
May 11, 2017
by
Diana Huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test to use the start instead of due date.
parent
544d5d59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
+1
-3
openedx/features/course_experience/tests/views/test_course_outline.py
+1
-3
No files found.
openedx/features/course_experience/tests/views/test_course_outline.py
View file @
ef5c23c5
...
@@ -297,8 +297,6 @@ class TestCourseOutlinePreview(SharedModuleStoreTestCase):
...
@@ -297,8 +297,6 @@ class TestCourseOutlinePreview(SharedModuleStoreTestCase):
self
.
assertEqual
(
response
.
status_code
,
200
)
self
.
assertEqual
(
response
.
status_code
,
200
)
return
response
return
response
# TODO: LEARNER-837: Due 6/4/2017. Remove skip.
@skip
(
"skipping test"
)
def
test_preview
(
self
):
def
test_preview
(
self
):
"""
"""
Verify the behavior of preview for the course outline.
Verify the behavior of preview for the course outline.
...
@@ -322,7 +320,7 @@ class TestCourseOutlinePreview(SharedModuleStoreTestCase):
...
@@ -322,7 +320,7 @@ class TestCourseOutlinePreview(SharedModuleStoreTestCase):
category
=
'chapter'
,
category
=
'chapter'
,
parent_location
=
course
.
location
,
parent_location
=
course
.
location
,
display_name
=
'Future Chapter'
,
display_name
=
'Future Chapter'
,
due
=
future_date
,
start
=
future_date
,
)
)
sequential
=
ItemFactory
.
create
(
category
=
'sequential'
,
parent_location
=
chapter
.
location
)
sequential
=
ItemFactory
.
create
(
category
=
'sequential'
,
parent_location
=
chapter
.
location
)
ItemFactory
.
create
(
category
=
'vertical'
,
parent_location
=
sequential
.
location
)
ItemFactory
.
create
(
category
=
'vertical'
,
parent_location
=
sequential
.
location
)
...
...
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