Exemple #1
0
 def test_active(self):
     bts = self.bts
     query = Query()
     query["limit"] = 10
     query["tag"] = "steemit"
     d = Discussions_by_active(query, steem_instance=bts)
     self.assertEqual(len(d), 10)
Exemple #2
0
 def test_active(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_active(query, steem_instance=bts)
     self.assertEqual(len(d), 10)