include webpack commons bundle on all pages; stub webpack_loader in python unittests
include webpack commons bundle on all pages quotes homegrown webpack_loader mock toggle installed webpack_loader in test env file instead fix test checking context
This commit is contained in:
@@ -19,7 +19,7 @@ class TextbookIndexTestCase(CourseTestCase):
|
||||
self.assertEqual(resp.status_code, 200)
|
||||
# we don't have resp.context right now,
|
||||
# due to bugs in our testing harness :(
|
||||
if resp.context:
|
||||
if resp.context and resp.context.get('course'):
|
||||
self.assertEqual(resp.context['course'], self.course)
|
||||
|
||||
def test_view_index_xhr(self):
|
||||
|
||||
Reference in New Issue
Block a user