(self)
Set the stub to its initial state
Set the stub to its initial state
Set the stub to its initial state
def reset(self):
        """
        Set the stub to its initial state
        """
        self._metrics = defaultdict(list)
        self._asserted = set()
        self._service_checks = defaultdict(list)
        self._events = []
        # dict[event_type, [events]]
        self._event_platform_events = defaultdict(list)
        self._histogram_buckets = defaultdict(list)
def reset ( self ) : self . _metrics = defaultdict ( list ) self . _asserted = set ( ) self . _service_checks = defaultdict ( list ) self . _events = [ ] # dict[event_type, [events]] self . _event_platform_events = defaultdict ( list ) self . _histogram_buckets = defaultdict ( list )