Searched refs:_is_gui_available (Results 1 – 1 of 1) sorted by relevance
202 def _is_gui_available(): function203 if hasattr(_is_gui_available, 'result'):204 return _is_gui_available.result274 _is_gui_available.reason = reason275 _is_gui_available.result = not reason277 return _is_gui_available.result293 if resource == 'gui' and not _is_gui_available():294 raise ResourceDenied(_is_gui_available.reason)892 if resource == 'gui' and not _is_gui_available():893 return unittest.skip(_is_gui_available.reason)