From da36c654b3b9140a378cfc926f6e536307309e47 Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Wed, 21 Nov 2018 15:35:38 +1100 Subject: [PATCH] Skip WEX tests temporarily --- config_example.json | 2 +- exchanges/wex/wex_test.go | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/config_example.json b/config_example.json index ab3eae26..a8dd43b5 100644 --- a/config_example.json +++ b/config_example.json @@ -1168,7 +1168,7 @@ }, { "name": "WEX", - "enabled": true, + "enabled": false, "verbose": false, "websocket": false, "useSandbox": false, diff --git a/exchanges/wex/wex_test.go b/exchanges/wex/wex_test.go index 33c7052a..e8575e6d 100644 --- a/exchanges/wex/wex_test.go +++ b/exchanges/wex/wex_test.go @@ -35,6 +35,7 @@ func TestSetup(t *testing.T) { } func TestGetTradablePairs(t *testing.T) { + t.Skip() t.Parallel() _, err := w.GetTradablePairs() if err != nil { @@ -43,6 +44,7 @@ func TestGetTradablePairs(t *testing.T) { } func TestGetInfo(t *testing.T) { + t.Skip() t.Parallel() _, err := w.GetInfo() if err != nil { @@ -51,6 +53,7 @@ func TestGetInfo(t *testing.T) { } func TestGetTicker(t *testing.T) { + t.Skip() t.Parallel() _, err := w.GetTicker("btc_usd") if err != nil { @@ -59,6 +62,7 @@ func TestGetTicker(t *testing.T) { } func TestGetDepth(t *testing.T) { + t.Skip() t.Parallel() _, err := w.GetDepth("btc_usd") if err != nil { @@ -67,6 +71,7 @@ func TestGetDepth(t *testing.T) { } func TestGetTrades(t *testing.T) { + t.Skip() t.Parallel() _, err := w.GetTrades("btc_usd") if err != nil { @@ -75,6 +80,7 @@ func TestGetTrades(t *testing.T) { } func TestGetAccountInfo(t *testing.T) { + t.Skip() t.Parallel() _, err := w.GetAccountInfo() if err == nil { @@ -83,6 +89,7 @@ func TestGetAccountInfo(t *testing.T) { } func TestGetActiveOrders(t *testing.T) { + t.Skip() t.Parallel() _, err := w.GetActiveOrders("") if err == nil { @@ -91,6 +98,7 @@ func TestGetActiveOrders(t *testing.T) { } func TestGetOrderInfo(t *testing.T) { + t.Skip() t.Parallel() _, err := w.GetOrderInfo(6196974) if err == nil { @@ -99,6 +107,7 @@ func TestGetOrderInfo(t *testing.T) { } func TestCancelOrder(t *testing.T) { + t.Skip() t.Parallel() _, err := w.CancelOrder(1337) if err == nil { @@ -107,6 +116,7 @@ func TestCancelOrder(t *testing.T) { } func TestTrade(t *testing.T) { + t.Skip() t.Parallel() _, err := w.Trade("", "buy", 0, 0) if err == nil { @@ -115,6 +125,7 @@ func TestTrade(t *testing.T) { } func TestGetTransactionHistory(t *testing.T) { + t.Skip() t.Parallel() _, err := w.GetTransactionHistory(0, 0, 0, "", "", "") if err == nil { @@ -123,6 +134,7 @@ func TestGetTransactionHistory(t *testing.T) { } func TestGetTradeHistory(t *testing.T) { + t.Skip() t.Parallel() _, err := w.GetTradeHistory(0, 0, 0, "", "", "", "") if err == nil { @@ -131,6 +143,7 @@ func TestGetTradeHistory(t *testing.T) { } func TestWithdrawCoins(t *testing.T) { + t.Skip() t.Parallel() _, err := w.WithdrawCoins("", 0, "") if err == nil { @@ -139,6 +152,7 @@ func TestWithdrawCoins(t *testing.T) { } func TestCoinDepositAddress(t *testing.T) { + t.Skip() t.Parallel() _, err := w.CoinDepositAddress("btc") if err == nil { @@ -147,6 +161,7 @@ func TestCoinDepositAddress(t *testing.T) { } func TestCreateCoupon(t *testing.T) { + t.Skip() t.Parallel() _, err := w.CreateCoupon("bla", 0) if err == nil { @@ -155,6 +170,7 @@ func TestCreateCoupon(t *testing.T) { } func TestRedeemCoupon(t *testing.T) { + t.Skip() t.Parallel() _, err := w.RedeemCoupon("bla") if err == nil { @@ -177,6 +193,7 @@ func setFeeBuilder() exchange.FeeBuilder { } func TestGetFee(t *testing.T) { + t.Skip() w.SetDefaults() TestSetup(t) var feeBuilder = setFeeBuilder()