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
c9b775bd
Commit
c9b775bd
authored
Aug 24, 2015
by
Chris Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip test fixes
parent
07ca51c3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
lms/djangoapps/courseware/tests/test_module_render.py
+4
-0
lms/djangoapps/courseware/tests/test_navigation.py
+0
-1
lms/djangoapps/courseware/testutils.py
+0
-1
No files found.
lms/djangoapps/courseware/tests/test_module_render.py
View file @
c9b775bd
...
...
@@ -633,6 +633,10 @@ class TestTOC(ModuleStoreTestCase):
def
test_toc_toy_from_chapter
(
self
,
default_ms
,
setup_finds
,
setup_sends
,
toc_finds
):
with
self
.
store
.
default_store
(
default_ms
):
self
.
setup_modulestore
(
default_ms
,
setup_finds
,
setup_sends
)
from
nose.tools
import
set_trace
;
set_trace
();
expected
=
([{
'active'
:
True
,
'sections'
:
[{
'url_name'
:
'Toy_Videos'
,
'display_name'
:
u'Toy Videos'
,
'graded'
:
True
,
'format'
:
u'Lecture Sequence'
,
'due'
:
None
,
'active'
:
False
},
...
...
lms/djangoapps/courseware/tests/test_navigation.py
View file @
c9b775bd
...
...
@@ -107,7 +107,6 @@ class TestNavigation(ModuleStoreTestCase, LoginEnrollmentTestCase):
'chapter'
:
'Chrome'
,
'section'
:
displayname
,
}))
self
.
assertEquals
(
'open_close_accordion'
in
response
.
content
,
accordion
)
self
.
assertEquals
(
'course-tabs'
in
response
.
content
,
tabs
)
self
.
assertTabInactive
(
'progress'
,
response
)
...
...
lms/djangoapps/courseware/testutils.py
View file @
c9b775bd
...
...
@@ -25,7 +25,6 @@ class RenderXBlockTestMixin(object):
# DOM elements that appear in the LMS Courseware,
# but are excluded from the xBlock-only rendering.
COURSEWARE_CHROME_HTML_ELEMENTS
=
[
'<header id="open_close_accordion"'
,
'<ol class="course-tabs"'
,
'<footer id="footer-openedx"'
,
'<div class="window-wrap"'
,
...
...
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