def reset(self): for key, value in _sites.iteritems(): self.clear(key) mq.clear_queue( self.test_prefix+RESULT_QUEUE_NAME)
def clear(self, site): site = self._get_site(site) mq.clear_queue( self.myqueue(site))