diff --git a/test/runtests.jl b/test/runtests.jl index 66e859a..06a92b7 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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