Example #1
0
    def test_post_payout(self):
        bts = self.bts

        query = Query()
        query["limit"] = 10
        query["tag"] = "steemit"
        d = Post_discussions_by_payout(query, steem_instance=bts)
        self.assertEqual(len(d), 10)
Example #2
0
 def test_post_payout(self, node_param):
     if node_param == "non_appbase":
         bts = self.bts
     else:
         bts = self.appbase
     query = Query()
     query["limit"] = 10
     query["tag"] = "steemit"
     d = Post_discussions_by_payout(query, steem_instance=bts)
     self.assertEqual(len(d), 10)