Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Oct 23, 2024
1 parent f853452 commit bcc2820
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions exchanges/huobi/huobi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2096,33 +2096,6 @@ func TestQueryWithdrawQuota(t *testing.T) {
}
}

// TestWsGetAccountsList connects to WS, logs in, gets account list
func TestWsGetAccountsList(t *testing.T) {
t.Error("gbjk didn't dtrt")
if _, err := h.wsGetAccountsList(context.Background()); err != nil {
t.Error(err)
}
}

// TestWsGetOrderList connects to WS, logs in, gets order list
func TestWsGetOrderList(t *testing.T) {
t.Error("gbjk didn't dtrt")
p := currency.NewPairWithDelimiter("eth", "btc", "")
o, err := h.wsGetOrdersList(context.Background(), 1, p)
require.NoError(t, err)
require.NotEmpty(t, o)
}

// TestWsGetOrderDetails connects to WS, logs in, gets order details
func TestWsGetOrderDetails(t *testing.T) {
t.Error("gbjk didn't dtrt")
orderID := "123"
_, err := h.wsGetOrderDetails(context.Background(), orderID)
if err != nil {
t.Error(err)
}
}

func TestWsKline(t *testing.T) {
pressXToJSON := []byte(`{
"ch": "market.btcusdt.kline.1min",
Expand Down

0 comments on commit bcc2820

Please sign in to comment.