'Test for #12658 - Tests with ImportError\'s shouldn\'t fail silently'

def test_import_error(self):

    from django.test.simple import get_tests
    module = import_module(TEST_APP_ERROR)
    self.assertRaises(ImportError, get_tests, module)
