def setUp(self): # Mutually isolate these tests and make them independent of # TOPOLOGY_DEFAULTS topology.topology = topology.LockedDefaultDict()
def _resetTopology(): """Remove effects of unittests on topology""" topology.topology = topology.LockedDefaultDict() topology.topology.update(topology.TOPOLOGY_DEFAULTS)