mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-20 05:50:36 +00:00
10348 | Update tests and add pairlist constants
This commit is contained in:
@@ -42,6 +42,7 @@ HYPEROPT_LOSS_BUILTIN = [
|
||||
AVAILABLE_PAIRLISTS = [
|
||||
"StaticPairList",
|
||||
"VolumePairList",
|
||||
"PercentVolumeChangePairList",
|
||||
"ProducerPairList",
|
||||
"RemotePairList",
|
||||
"MarketCapPairList",
|
||||
|
||||
@@ -31,9 +31,11 @@ from tests.conftest import (
|
||||
)
|
||||
|
||||
|
||||
# Exclude RemotePairList from tests.
|
||||
# It has a mandatory parameter, and requires special handling, which happens in test_remotepairlist.
|
||||
TESTABLE_PAIRLISTS = [p for p in AVAILABLE_PAIRLISTS if p not in ["RemotePairList"]]
|
||||
# Exclude RemotePairList and PercentVolumeChangePairList from tests.
|
||||
# They have mandatory parameters, and requires special handling,
|
||||
# which happens in test_remotepairlist and test_percentvolumechangepairlist.
|
||||
TESTABLE_PAIRLISTS = [p for p in AVAILABLE_PAIRLISTS
|
||||
if p not in ["RemotePairList", "PercentVolumeChangePairList"]]
|
||||
|
||||
|
||||
@pytest.fixture(scope="function")
|
||||
|
||||
Reference in New Issue
Block a user