Beispiel #1
0
 def setup_method(self, method):
     """Clean up all class attributes from previous runs."""
     AsyncResult.clear()
     GetTaskInstance.clear()
     SystemState._throttled_tasks = {}
     SystemState._throttled_flows = {}
     # Make sure we restore tracing function in tests
     Trace._trace_functions = []
Beispiel #2
0
 def setup_method(self, method):
     """Clean up all class attributes from previous runs."""
     AsyncResult.clear()
     GetTaskInstance.clear()
     SystemState._throttled_tasks = {}
     SystemState._throttled_flows = {}
     # Make sure we restore tracing function in tests
     Trace._trace_functions = []
Beispiel #3
0
 def setup_method(self, method):
     """
     Clean up all class attributes from previous runs
     """
     AsyncResult.clear()
     GetTaskInstance.clear()
     SystemState._throttled_tasks = {}
     SystemState._throttled_flows = {}