34 lines
883 B
Python
34 lines
883 B
Python
"""Constants for testing the Coinbase integration."""
|
|
|
|
GOOD_CURRENCY = "BTC"
|
|
GOOD_CURRENCY_2 = "USD"
|
|
GOOD_CURRENCY_3 = "EUR"
|
|
GOOD_EXCHANGE_RATE = "BTC"
|
|
GOOD_EXCHANGE_RATE_2 = "ATOM"
|
|
BAD_CURRENCY = "ETH"
|
|
BAD_EXCHANGE_RATE = "ETH"
|
|
|
|
MOCK_ACCOUNTS_RESPONSE = [
|
|
{
|
|
"balance": {"amount": "0.00001", "currency": GOOD_CURRENCY},
|
|
"currency": {"code": GOOD_CURRENCY},
|
|
"id": "123456789",
|
|
"name": "BTC Wallet",
|
|
"type": "wallet",
|
|
},
|
|
{
|
|
"balance": {"amount": "100.00", "currency": GOOD_CURRENCY},
|
|
"currency": {"code": GOOD_CURRENCY},
|
|
"id": "abcdefg",
|
|
"name": "BTC Vault",
|
|
"type": "vault",
|
|
},
|
|
{
|
|
"balance": {"amount": "9.90", "currency": GOOD_CURRENCY_2},
|
|
"currency": {"code": GOOD_CURRENCY_2},
|
|
"id": "987654321",
|
|
"name": "USD Wallet",
|
|
"type": "fiat",
|
|
},
|
|
]
|