Example #1
0
def __can_load_xvm_fence_agent():
    try:
        runner = CommandRunner(logging.getLogger("test"), ReportProcessor())
        StonithAgent(runner, "fence_xvm").validate_metadata()
        return True
    except:
        return False
Example #2
0
 def tearDown(self):
     # pylint does not know this method is defined in TestCase
     # pylint: disable=invalid-name
     # pylint: disable=no-self-use
     StonithAgent.clear_fenced_metadata_cache()
Example #3
0
 def tearDown(self):
     StonithAgent.clear_stonithd_metadata_cache()
Example #4
0
 def tearDown(self):
     # pylint does not know this method is defined in TestCase
     # pylint: disable=invalid-name
     # pylint: disable=no-self-use
     StonithAgent.clear_fenced_metadata_cache()