def test_74(self): global account_test global account_alice get_info = cleos.GetInfo(is_verbose=-1) table = cleos.GetTable(account_test, "accounts", account_alice) self.assertTrue(not table.error, "GetTable") print(json.dumps(table.json, indent=4))
def table( self, table_name, scope="", binary=False, limit=10, key="", lower="", upper=""): account_object._table = cleos.GetTable( account_object, table_name, scope, binary, limit, key, lower, upper, is_verbose=account_object.is_verbose) return account_object._table
def table( self, table_name, scope="", binary=False, limit=10, key="", lower="", upper=""): """ Return a contract's table object. """ self._table = cleos.GetTable( self.account.name, table_name, scope, binary=False, limit=10, key="", lower="", upper="", is_verbose=self.is_verbose) return self._table