Esempio n. 1
0
 def test_votes(self):
     bts = self.bts
     query = Query()
     query["limit"] = 10
     query["tag"] = "steemit"
     d = Discussions_by_votes(query, steem_instance=bts)
     self.assertEqual(len(d), 10)
Esempio n. 2
0
 def test_votes(self, node_param):
     if node_param == "non_appbase":
         bts = self.bts
     else:
         bts = self.appbase
     query = Query()
     query["limit"] = 10
     query["tag"] = "steemit"
     d = Discussions_by_votes(query, steem_instance=bts)
     self.assertEqual(len(d), 10)