Skip to content

Commit

Permalink
Test batch (un)install (#131)
Browse files Browse the repository at this point in the history
* Test batch (un)install

* Use small Python packages for testing
  • Loading branch information
tkf authored and stevengj committed Nov 9, 2018
1 parent 2b55e10 commit 99b2b95
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,15 @@ Conda.add_channel("foo", env)

Conda.rm_channel("foo", env)
@test Conda.channels(env) == ["defaults"]

@testset "Batch install and uninstall" begin
Conda.add(["affine", "ansi2html"], env)
installed = Conda._installed_packages(env)
@test "affine" installed
@test "ansi2html" installed

Conda.rm(["affine", "ansi2html"], env)
installed = Conda._installed_packages(env)
@test "affine" installed
@test "ansi2html" installed
end

0 comments on commit 99b2b95

Please sign in to comment.