def default(err, node=node, table=table):
table.nodeFailed(node)
df = node.storeValue(key, value, self.node.senderDict())
- df.addCallbacks(cb, default)
+ df.addCallback(cb)
# this call is asynch
self.findNode(key, _storeValueForKey)
import ktable, khashmir
import hash, node, knode
import actions, xmlrpcclient
-import bencode, btemplate
+import btemplate
-tests = unittest.defaultTestLoader.loadTestsFromNames(['hash', 'node', 'knode', 'bencode', 'btemplate', 'actions', 'ktable', 'xmlrpcclient'])
+tests = unittest.defaultTestLoader.loadTestsFromNames(['hash', 'node', 'knode', 'btemplate', 'actions', 'ktable', 'xmlrpcclient'])
result = unittest.TextTestRunner().run(tests)