From 0b5aa421745528e18648addacaf6312dcd6233b9 Mon Sep 17 00:00:00 2001 From: aliciaaevans Date: Fri, 15 Mar 2024 16:35:45 -0400 Subject: [PATCH] add test for multi_build_exclude fixture --- test/test_utils.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/test_utils.py b/test/test_utils.py index 6d639c062e..ef0f91ceaa 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -262,6 +262,16 @@ def test_multi_build(multi_build): assert os.path.exists(pkg) +@pytest.mark.long_running_1 +def test_multi_build_exclude(multi_build_exclude): + for (k, v) in multi_build_exclude.items(): + for pkg in v: + if k == 'three': + assert not os.path.exists(pkg) + else: + assert os.path.exists(pkg) + + @pytest.mark.skipif(SKIP_DOCKER_TESTS, reason='skipping on osx') def test_docker_bioconda_utils_version(): """