Increment API version to let clients know this is now available
This commit is contained in:
parent
857f4ec125
commit
8fdef2900e
@ -30,7 +30,8 @@ logger = logging.getLogger(__name__)
|
||||
# Pre-1.1, no version was provided
|
||||
# Version increments should happen in "small" steps (1.1, 1.12, ...) unless big changes happen.
|
||||
# 1.11: forcebuy and forcesell accept ordertype
|
||||
API_VERSION = 1.11
|
||||
# 1.12: add blacklist delete endpoint
|
||||
API_VERSION = 1.12
|
||||
|
||||
# Public API, requires no auth.
|
||||
router_public = APIRouter()
|
||||
|
@ -976,7 +976,9 @@ def test_api_blacklist(botclient, mocker):
|
||||
}
|
||||
},
|
||||
}
|
||||
rc = client_delete(client, f"{BASE_URI}/blacklist?pairs_to_delete=HOT/BTC&pairs_to_delete=ETH/BTC")
|
||||
rc = client_delete(
|
||||
client,
|
||||
f"{BASE_URI}/blacklist?pairs_to_delete=HOT/BTC&pairs_to_delete=ETH/BTC")
|
||||
assert_response(rc)
|
||||
assert rc.json() == {"blacklist": ["XRP/.*"],
|
||||
"blacklist_expanded": ["XRP/BTC", "XRP/USDT"],
|
||||
|
Loading…
Reference in New Issue
Block a user