'Tests when INSTALLED_APPS contains an entry that doesn\'t exist.'

def test_no_such_app_config(self):

    with self.assertRaises(ImportError):
        with self.settings(INSTALLED_APPS=['apps.apps.NoSuchConfig']):
            pass
