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