def _setUp(self):
    self.trans = copy.copy(rpc.TRANSPORT)
    self.noti_trans = copy.copy(rpc.NOTIFICATION_TRANSPORT)
    self.noti = copy.copy(rpc.NOTIFIER)
    self.all_mods = copy.copy(rpc.ALLOWED_EXMODS)
    self.ext_mods = copy.copy(rpc.EXTRA_EXMODS)
    self.addCleanup(self._reset_everything)
def _setUp(self):
    self.trans = copy.copy(rpc.TRANSPORT)
    self.noti_trans = copy.copy(rpc.NOTIFICATION_TRANSPORT)
    self.noti = copy.copy(rpc.NOTIFIER)
    self.all_mods = copy.copy(rpc.ALLOWED_EXMODS)
    self.ext_mods = copy.copy(rpc.EXTRA_EXMODS)
    self.addCleanup(self._reset_everything)