Пример #1
0
 def testSetInfo(self):
     __init__.get_pool('deepbit').namespace.get_node('shares').set_value(0)
     assert __init__.get_pool('deepbit').shares == 0
Пример #2
0
 def testprintSlushShares(self):
     print __init__.get_pool('slush').shares
Пример #3
0
 def testBlockInfo(self):
     pool = __init__.get_pool('deepbit')
     print pool.blocks
     assert pool.blocks != None
     assert len(json.loads(pool.blocks))