Skip to content

Commit

Permalink
Skip testing because no sandbox environment for those APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoclam9415 committed Dec 25, 2024
1 parent bc0fe1f commit b7d2385
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_async_client_futures.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,24 +66,28 @@ async def test_futures_funding_rate(futuresClientAsync):
await futuresClientAsync.futures_funding_rate()


@pytest.mark.skip(reason="No Sandbox Environment to test")
async def test_futures_top_longshort_account_ratio(futuresClientAsync):
await futuresClientAsync.futures_top_longshort_account_ratio(
symbol="BTCUSDT", period="5m"
)


@pytest.mark.skip(reason="No Sandbox Environment to test")
async def test_futures_top_longshort_position_ratio(futuresClientAsync):
await futuresClientAsync.futures_top_longshort_position_ratio(
symbol="BTCUSDT", period="5m"
)


@pytest.mark.skip(reason="No Sandbox Environment to test")
async def test_futures_global_longshort_ratio(futuresClientAsync):
await futuresClientAsync.futures_global_longshort_ratio(
symbol="BTCUSDT", period="5m"
)


@pytest.mark.skip(reason="No Sandbox Environment to test")
async def test_futures_taker_longshort_ratio(futuresClientAsync):
await futuresClientAsync.futures_taker_longshort_ratio(
symbol="BTCUSDT", period="5m"
Expand Down Expand Up @@ -130,6 +134,7 @@ async def test_futures_index_info(futuresClientAsync):
await futuresClientAsync.futures_index_info()


@pytest.mark.skip(reason="No Sandbox Environment to test")
async def test_futures_open_interest_hist(futuresClientAsync):
await futuresClientAsync.futures_open_interest_hist(symbol="BTCUSDT", period="5m")

Expand Down
5 changes: 5 additions & 0 deletions tests/test_client_futures.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,22 @@ def test_futures_funding_rate(futuresClient):
futuresClient.futures_funding_rate()


@pytest.mark.skip(reason="No Sandbox Environment to test")
def test_futures_top_longshort_account_ratio(futuresClient):
futuresClient.futures_top_longshort_account_ratio(symbol="BTCUSDT", period="5m")


@pytest.mark.skip(reason="No Sandbox Environment to test")
def test_futures_top_longshort_position_ratio(futuresClient):
futuresClient.futures_top_longshort_position_ratio(symbol="BTCUSDT", period="5m")


@pytest.mark.skip(reason="No Sandbox Environment to test")
def test_futures_global_longshort_ratio(futuresClient):
futuresClient.futures_global_longshort_ratio(symbol="BTCUSDT", period="5m")


@pytest.mark.skip(reason="No Sandbox Environment to test")
def test_futures_taker_longshort_ratio(futuresClient):
futuresClient.futures_taker_longshort_ratio(symbol="BTCUSDT", period="5m")

Expand Down Expand Up @@ -134,6 +138,7 @@ def test_futures_index_info(futuresClient):
futuresClient.futures_index_info()


@pytest.mark.skip(reason="No Sandbox Environment to test")
def test_futures_open_interest_hist(futuresClient):
futuresClient.futures_open_interest_hist(symbol="BTCUSDT", period="5m")

Expand Down

0 comments on commit b7d2385

Please sign in to comment.