tests: use only coins that most likely are going to be in bittrex

This commit is contained in:
Samuel Husso 2018-04-22 11:29:21 +03:00
parent 53e76a89ac
commit 9f1544978d
2 changed files with 4 additions and 5 deletions

View File

@ -74,10 +74,9 @@ def default_conf():
"secret": "secret", "secret": "secret",
"pair_whitelist": [ "pair_whitelist": [
"ETH/BTC", "ETH/BTC",
"TKN/BTC", "LTC/BTC",
"TRST/BTC", "XRP/BTC",
"SWT/BTC", "NEO/BTC"
"BCC/BTC"
] ]
}, },
"telegram": { "telegram": {

View File

@ -44,7 +44,7 @@ def test_init_exception(default_conf):
def test_validate_pairs(default_conf, mocker): def test_validate_pairs(default_conf, mocker):
api_mock = MagicMock() api_mock = MagicMock()
api_mock.load_markets = MagicMock(return_value={ api_mock.load_markets = MagicMock(return_value={
'ETH/BTC': '', 'TKN/BTC': '', 'TRST/BTC': '', 'SWT/BTC': '', 'BCC/BTC': '' 'ETH/BTC': '', 'LTC/BTC': '', 'XRP/BTC': '', 'NEO/BTC': ''
}) })
id_mock = PropertyMock(return_value='test_exchange') id_mock = PropertyMock(return_value='test_exchange')
type(api_mock).id = id_mock type(api_mock).id = id_mock