'Make sure import errors are captured and raised sensibly.'

def test_import_error_message_maintained(self):

    settings = APISettings({u'DEFAULT_RENDERER_CLASSES': [u'tests.invalid_module.InvalidClassName']})
    with self.assertRaises(ImportError):
        settings.DEFAULT_RENDERER_CLASSES
