2024-07-20 18:19:52 +00:00
|
|
|
"""Secret loading for tests.
|
|
|
|
|
|
|
|
Add these secrets to an [appropriate secret loader
|
|
|
|
location](https://gitfub.space/Jmaa/secret_loader). Missing some secrets will
|
|
|
|
result in skipped tests.
|
|
|
|
"""
|
|
|
|
|
2024-07-07 22:48:27 +00:00
|
|
|
from secret_loader import SecretLoader
|
2024-06-20 21:00:22 +00:00
|
|
|
|
2024-07-07 22:48:27 +00:00
|
|
|
load_secret = SecretLoader().load
|
2024-06-20 21:00:22 +00:00
|
|
|
|
|
|
|
NORDNET_USERNAME = load_secret('NORDNET_USERNAME')
|
|
|
|
NORDNET_PASSWORD = load_secret('NORDNET_PASSWORD')
|
2024-07-20 18:19:52 +00:00
|
|
|
|
|
|
|
KRAKEN_KEY = load_secret('KRAKEN_KEY')
|
|
|
|
KRAKEN_SECRET = load_secret('KRAKEN_SECRET')
|
|
|
|
|
2024-07-22 20:51:17 +00:00
|
|
|
KUCOIN_KEY = load_secret('KUCOIN_KEY')
|
|
|
|
KUCOIN_SECRET = load_secret('KUCOIN_SECRET')
|
|
|
|
KUCOIN_PASS = load_secret('KUCOIN_PASS')
|