'Test error message regarding ModelResource lacking object_class and queryset.'

def test_invalid_model_resource(self):

    with self.assertRaises(ImproperlyConfigured) as exception_context:
        class InvalidNoteResource(ModelResource, ):
            class Meta:
                resource_name = u'invalidnotes'
    self.assertTrue((u'InvalidNoteResource' in str(exception_context.exception)))
