Allow comments and trailing commas in remotepairlist files

closes #8971
This commit is contained in:
Matthias
2023-07-27 18:02:49 +02:00
parent 8f18a52cdf
commit 9a400d0e6f
2 changed files with 4 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ def test_gen_pairlist_with_local_file(mocker, rpl_config):
mock_file_path.exists.return_value = True
jsonparse = json.loads(mock_file.read.return_value)
mocker.patch('freqtrade.plugins.pairlist.RemotePairList.json.load', return_value=jsonparse)
mocker.patch('freqtrade.plugins.pairlist.RemotePairList.rapidjson.load', return_value=jsonparse)
rpl_config['pairlists'] = [
{