Fix valueerror in case of empty array files

This commit is contained in:
Matthias
2021-01-31 19:49:14 +01:00
parent 79087ba166
commit 2c80388b40
5 changed files with 22 additions and 5 deletions

View File

@@ -1109,7 +1109,7 @@ def test_list_available_pairs(botclient):
rc = client_get(client, f"{BASE_URI}/available_pairs")
assert_response(rc)
assert rc.json()['length'] == 12
assert rc.json()['length'] == 13
assert isinstance(rc.json()['pairs'], list)
rc = client_get(client, f"{BASE_URI}/available_pairs?timeframe=5m")