'Test that when an XModule throws an error during __init__, we
get an ErrorModule back from XModuleDescriptor._xmodule'

def test_broken_module(self):

    module = self.descriptor._xmodule
    self.assertIsInstance(module, ErrorModule)
