예제 #1
0
    def test_001_get_cards_200(self):
        payload = {"user_handle": user_handle}

        response = User.get_cards(app, payload, eth_private_key)
        self.assertTrue(response["success"])
        self.assertIsNotNone(response["reference"])
예제 #2
0
    def test_002_get_cards_400(self):
        payload = {"user_handle": ''}

        response = User.get_cards(app, payload, eth_private_key)
        self.assertFalse(response["success"])