def create_test_resource(self, force=False, *args, **kwargs):

        force = force or {}
        try:
            return self._meta.testdata.create_test_resource(force=force, *args,
                **kwargs)
        except __HOLE__ as e:
            msg = "%s: Did you forget to define a testdata class for %s?"
            msg %= (e, self.__class__.__name__)
            raise Exception(msg)
dataset/ETHPy150Open mozilla/inventory/vendor-local/src/django-tastytools/tastytools/resources.py/ModelResource.create_test_resource