808
808
bzrlib.mutabletree.MutableTree: bzrlib.mutabletree.MutableTree.hooks,
809
809
bzrlib.smart.client._SmartClient: bzrlib.smart.client._SmartClient.hooks,
810
810
bzrlib.smart.server.SmartTCPServer: bzrlib.smart.server.SmartTCPServer.hooks,
812
813
self.addCleanup(self._restoreHooks)
813
814
# reset all hooks to an empty instance of the appropriate type
814
815
bzrlib.branch.Branch.hooks = bzrlib.branch.BranchHooks()
815
816
bzrlib.smart.client._SmartClient.hooks = bzrlib.smart.client.SmartClientHooks()
816
817
bzrlib.smart.server.SmartTCPServer.hooks = bzrlib.smart.server.SmartServerHooks()
819
821
"""Turn off UI for duration of test"""