test: Test "invalid date format"
This commit is contained in:
@@ -855,6 +855,10 @@ def test_validate_whitelist(default_conf):
|
|||||||
[{"method": "StoplossGuard", "lookback_period_candles": 20, "unlock_at": "20:02"}],
|
[{"method": "StoplossGuard", "lookback_period_candles": 20, "unlock_at": "20:02"}],
|
||||||
None,
|
None,
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
[{"method": "StoplossGuard", "lookback_period_candles": 20, "unlock_at": "55:102"}],
|
||||||
|
"Invalid date format for unlock_at: 55:102.",
|
||||||
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
def test_validate_protections(default_conf, protconf, expected):
|
def test_validate_protections(default_conf, protconf, expected):
|
||||||
|
|||||||
Reference in New Issue
Block a user