tests fixed

This commit is contained in:
misagh
2018-11-23 10:17:10 +01:00
parent 27a6dcf3fc
commit a9f04609d3
5 changed files with 17 additions and 10 deletions

View File

@@ -26,7 +26,10 @@ class Wallets(object):
def __init__(self, exchange: Exchange) -> None:
self.exchange = exchange
self.wallets: Dict[str, Any] = {}
if self.exchange._conf['dry_run']:
self.wallets: Dict[str, Any] = {'BTC': Wallet('Bittrex', 'BTC', 999.99, 100, 1000)}
else:
self.wallets: Dict[str, Any] = {}
self.update()
def update(self) -> None: