wip test fixes
This commit is contained in:
@@ -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},
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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"',
|
||||
|
||||
Reference in New Issue
Block a user