Example #1
0
    def test_delete_wallet_400(self):
        payload = {
            "user_handle": '',
        }

        response = Wallet.deleteWallet(app, payload, eth_private_key)
        self.assertFalse(response["success"])
Example #2
0
    def test_delete_wallet_200(self):
        payload = {"user_handle": user_handle}

        response = Wallet.deleteWallet(app, payload, wallet_private_key)
        self.assertTrue(response["success"])
Example #3
0
    def test_delete_wallet_401(self):
        payload = {"user_handle": user_handle}

        response = Wallet.deleteWallet(app, payload, '')
        self.assertFalse(response["success"])