1
0
fin-depo/test/secrets.py
2024-07-22 22:18:17 +02:00

21 lines
601 B
Python

"""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.
"""
from secret_loader import SecretLoader
load_secret = SecretLoader().load
NORDNET_USERNAME = load_secret('NORDNET_USERNAME')
NORDNET_PASSWORD = load_secret('NORDNET_PASSWORD')
KRAKEN_KEY = load_secret('KRAKEN_KEY')
KRAKEN_SECRET = load_secret('KRAKEN_SECRET')
KUCOIN_KEY = load_secret('KUCOIN_KEY_TRADING')
KUCOIN_SECRET = load_secret('KUCOIN_SECRET_TRADING')
KUCOIN_PASS = load_secret('KUCOIN_PASS_TRADING')