Skip to content

Commit

Permalink
Commented tests requiring an API access for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviermilla committed Jan 24, 2024
1 parent 1c59c70 commit 4a081db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ using DydxV3
include("test_samplers.jl")
include("test_public.jl")
include("Private/test_api.jl")
include("test_private.jl")
include("test_websockets.jl")
# include("test_private.jl")
# include("test_websockets.jl")
2 changes: 1 addition & 1 deletion test/test_public.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@testset "Public API" begin
@test DydxV3.getmarket("BTC-USD") isa DydxV3.Market
@test DydxV3.getmarkets() isa Dict{String,DydxV3.Market}
#@test DydxV3.getmarkets() isa Dict{String,DydxV3.Market}
@test DydxV3.getorderbook("BTC-USD") isa DydxV3.OrderBook
end
2 changes: 1 addition & 1 deletion test/test_websockets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

i = 1
DydxV3.WebSockets.subscribeToTrades("BTC-USD", client) do cli, obj
println(obj)
#println(obj)
@test isa(obj, DydxV3.WebSockets.TradeWrapper)
i == 2 && close(cli) # Test subscribed and channel_data before closing
i += 1
Expand Down

0 comments on commit 4a081db

Please sign in to comment.