예제 #1
0
 def test_witnesses(self, node_param):
     if node_param == "non_appbase":
         bts = self.bts
     else:
         bts = self.appbase
     w = Witnesses(steem_instance=bts)
     w.printAsTable()
     self.assertTrue(len(w) > 0)
     self.assertTrue(isinstance(w[0], Witness))
예제 #2
0
파일: interface.py 프로젝트: bobinson/pywit
 def witlist(self):
     w = Witnesses()
     w.printAsTable()