Refactor pairlist-tests

This commit is contained in:
Matthias
2018-12-03 20:48:51 +01:00
parent 18ad3388b4
commit 0929f59680
3 changed files with 14 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ DEFAULT_DB_DRYRUN_URL = 'sqlite://'
UNLIMITED_STAKE_AMOUNT = 'unlimited'
REQUIRED_ORDERTYPES = ['buy', 'sell', 'stoploss', 'stoploss_on_exchange']
ORDERTYPE_POSSIBILITIES = ['limit', 'market']
AVAILABLE_PAIRLISTS = ['StaticPairList', 'VolumePairList']
TICKER_INTERVAL_MINUTES = {
'1m': 1,
@@ -127,7 +127,7 @@ CONF_SCHEMA = {
'whitelist': {
'type': 'object',
'properties': {
'method': {'type': 'string'},
'method': {'type': 'string', 'enum': AVAILABLE_PAIRLISTS},
'config': {'type': 'object'}
},
'required': ['method']