Switch get_html replacement out for using wrap_child

This commit is contained in:
Calen Pennington
2013-09-09 16:44:37 -04:00
parent 2a11ff0bdb
commit 230bf0c643
24 changed files with 491 additions and 322 deletions

View File

@@ -74,7 +74,7 @@ class ModuleRenderTestCase(ModuleStoreTestCase, LoginEnrollmentTestCase):
)
# get the rendered HTML output which should have the rewritten link
html = module.get_html()
html = module.system.render(module, None, 'student_view').content
# See if the url got rewritten to the target link
# note if the URL mapping changes then this assertion will break