Lines Matching refs:ResourceDenied
26 __all__ = ["Error", "TestFailed", "ResourceDenied", "import_module",
48 class ResourceDenied(unittest.SkipTest):
213 """Raise ResourceDenied if the specified resource is not available.
224 raise ResourceDenied(msg)
730 """Raise ResourceDenied if an exception is raised while the context manager
742 self.attrs, raise ResourceDenied. Otherwise let the exception
751 raise ResourceDenied("an optional resource is not available")
756 """Return a context manager that raises ResourceDenied when various issues
770 denied = ResourceDenied("Resource '%s' is not available" % resource_name)