def getDiskQuota(self): self.message = "Testcase Failed : Cannot able to collect the diskquota details from the planner." response = planner.get_planner_diskquota(self.cfg, self.plannerId) assert response, self.message print "[INFO] Successfully able to get the diskquota from the planner %s.\nDisk Quota : %s.\n" % ( self.plannerId, response)
def cleanUp(self): print "[INFO] Clean up started for reverting the system to previous state..." planner.cleanup_planner(self.cfg, self.plannerId)
def cleanUp(self): print "[INFO] Clean up started for reverting the system to previous state.It will take some seconds please wait..." planner.cleanup_planner(self.cfg, self.plannerId)
def createPlanner(self): self.message = "Testcase Failed : Cannot able to create a planner." response = planner.create_planner(self.cfg, self.plannerId) assert response, self.message print "[INFO] Successfully able to create a planner %s." % self.plannerId
def getPlanner(self): self.message = "Testcase Failed : Cannot able to get the planner details." response = planner.get_planner(self.cfg, self.plannerId) assert response, self.message print "[INFO] Successfully able to get the planner details from the planner %s." % self.plannerId