Beispiel #1
0
    def test_get_fungibles(self):
        req = {
            'keys': [user.pub_key.to_string()]
        }

        resp = api.get_fungibles(json.dumps(req)).text
        self.assertTrue(str(sym_id) in resp, msg=resp)
Beispiel #2
0
    def test_get_fungibles(self):
        req = {
            'keys': [user.pub_key.to_string()]
        }

        resp = api.get_fungibles(json.dumps(req)).text
        res_dict = json.loads(resp)
        self.assertEqual(res_dict[0], sym_id, msg=resp)