Lines Matching refs:ResourceDenied
29 __all__ = ["Error", "TestFailed", "ResourceDenied", "import_module",
51 class ResourceDenied(unittest.SkipTest):
280 """Raise ResourceDenied if the specified resource is not available.
291 raise ResourceDenied(msg)
806 """Raise ResourceDenied if an exception is raised while the context manager
818 self.attrs, raise ResourceDenied. Otherwise let the exception
827 raise ResourceDenied("an optional resource is not available")
832 """Return a context manager that raises ResourceDenied when various issues
851 denied = ResourceDenied("Resource '%s' is not available" % resource_name)