Remove constraint to have pairs in base/quote format

This commit is contained in:
Matthias
2020-02-25 07:03:11 +01:00
parent e8eaa8920e
commit d34515a5de
3 changed files with 2 additions and 9 deletions

View File

@@ -34,13 +34,6 @@ def all_conf():
return conf
def test_load_config_invalid_pair(default_conf) -> None:
default_conf['exchange']['pair_whitelist'].append('ETH-BTC')
with pytest.raises(ValidationError, match=r'.*does not match.*'):
validate_config_schema(default_conf)
def test_load_config_missing_attributes(default_conf) -> None:
conf = deepcopy(default_conf)
conf.pop('exchange')
@@ -810,6 +803,7 @@ def test_validate_whitelist(default_conf):
validate_config_consistency(conf)
def test_load_config_test_comments() -> None:
"""
Load config with comments