Skip to content

Commit 99b2b95

Browse files
tkfstevengj
authored andcommitted
Test batch (un)install (#131)
* Test batch (un)install * Use small Python packages for testing
1 parent 2b55e10 commit 99b2b95

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/runtests.jl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,15 @@ Conda.add_channel("foo", env)
4848

4949
Conda.rm_channel("foo", env)
5050
@test Conda.channels(env) == ["defaults"]
51+
52+
@testset "Batch install and uninstall" begin
53+
Conda.add(["affine", "ansi2html"], env)
54+
installed = Conda._installed_packages(env)
55+
@test "affine" installed
56+
@test "ansi2html" installed
57+
58+
Conda.rm(["affine", "ansi2html"], env)
59+
installed = Conda._installed_packages(env)
60+
@test "affine" installed
61+
@test "ansi2html" installed
62+
end

0 commit comments

Comments
 (0)