10348 | Update tests and add pairlist constants
This commit is contained in:
@@ -42,6 +42,7 @@ HYPEROPT_LOSS_BUILTIN = [
|
|||||||
AVAILABLE_PAIRLISTS = [
|
AVAILABLE_PAIRLISTS = [
|
||||||
"StaticPairList",
|
"StaticPairList",
|
||||||
"VolumePairList",
|
"VolumePairList",
|
||||||
|
"PercentVolumeChangePairList",
|
||||||
"ProducerPairList",
|
"ProducerPairList",
|
||||||
"RemotePairList",
|
"RemotePairList",
|
||||||
"MarketCapPairList",
|
"MarketCapPairList",
|
||||||
|
|||||||
@@ -31,9 +31,11 @@ from tests.conftest import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# Exclude RemotePairList from tests.
|
# Exclude RemotePairList and PercentVolumeChangePairList from tests.
|
||||||
# It has a mandatory parameter, and requires special handling, which happens in test_remotepairlist.
|
# They have mandatory parameters, and requires special handling,
|
||||||
TESTABLE_PAIRLISTS = [p for p in AVAILABLE_PAIRLISTS if p not in ["RemotePairList"]]
|
# 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")
|
@pytest.fixture(scope="function")
|
||||||
|
|||||||
Reference in New Issue
Block a user