Skip to content

Commit

Permalink
revert renaming for some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
btschwertfeger committed Dec 6, 2023
1 parent a03fe3d commit b0f8b63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/futures/test_futures_base_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
)

Expand Down
4 changes: 2 additions & 2 deletions tests/spot/test_spot_base_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
}

Expand Down

0 comments on commit b0f8b63

Please sign in to comment.