added 1s timeframe changes and requirements

This commit is contained in:
WCKD
2022-09-08 17:14:52 +03:00
parent 883abe5b4f
commit f8b35dc5b4
3 changed files with 2 additions and 10 deletions

View File

@@ -907,12 +907,7 @@ def test_validate_timeframes_failed(default_conf, mocker):
with pytest.raises(OperationalException,
match=r"Invalid timeframe '3m'. This exchange supports.*"):
Exchange(default_conf)
default_conf["timeframe"] = "15s"
with pytest.raises(OperationalException,
match=r"Timeframes < 1m are currently not supported by Freqtrade."):
Exchange(default_conf)
def test_validate_timeframes_emulated_ohlcv_1(default_conf, mocker):
default_conf["timeframe"] = "3m"