From b0f8b63e6a66539717f6186ee6dc3e1f5929bc79 Mon Sep 17 00:00:00 2001 From: Benjamin Thomas Schwertfeger Date: Wed, 6 Dec 2023 18:35:39 +0100 Subject: [PATCH] revert renaming for some cases --- tests/futures/test_futures_base_api.py | 4 ++-- tests/spot/test_spot_base_api.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/futures/test_futures_base_api.py b/tests/futures/test_futures_base_api.py index 366cd24f..a52acaca 100644 --- a/tests/futures/test_futures_base_api.py +++ b/tests/futures/test_futures_base_api.py @@ -27,11 +27,11 @@ def test_KrakenFuturesBaseAPI_without_exception() -> None: KrakenFuturesBaseAPI( key="fake", secret="fake", - )._request(METHOD="POST", uri="/derivatives/api/v3/sendorder", auth=True) + )._request(method="POST", uri="/derivatives/api/v3/sendorder", auth=True) result: dict = ( KrakenFuturesBaseAPI(key="fake", secret="fake", use_custom_exceptions=False) # type: ignore[union-attr] - ._request(METHOD="POST", uri="/derivatives/api/v3/sendorder", auth=True) + ._request(method="POST", uri="/derivatives/api/v3/sendorder", auth=True) .json() ) diff --git a/tests/spot/test_spot_base_api.py b/tests/spot/test_spot_base_api.py index 98827c36..4d59f395 100644 --- a/tests/spot/test_spot_base_api.py +++ b/tests/spot/test_spot_base_api.py @@ -27,13 +27,13 @@ def test_KrakenSpotBaseAPI_without_exception() -> None: KrakenSpotBaseAPI( key="fake", secret="fake", - )._request(METHOD="POST", uri="/private/AddOrder", auth=True) + )._request(method="POST", uri="/private/AddOrder", auth=True) assert KrakenSpotBaseAPI( key="fake", secret="fake", use_custom_exceptions=False, - )._request(METHOD="POST", uri="/private/AddOrder", auth=True).json() == { + )._request(method="POST", uri="/private/AddOrder", auth=True).json() == { "error": ["EAPI:Invalid key"], }