6cc37ae1b2bb8113c5e9b67bd9f85f68a36ee888

Author
Michael Aquilina <michaelaquilina@gmail.com>
Committer
Michael Aquilina <michaelaquilina@gmail.com>
Date

Message

Skip pipenv tests if it is not installed

Diff

 1diff --git a/tests/test_maybepipenv.zunit b/tests/test_maybepipenv.zunit
 2index c82d5cb1f7ec4633056dfc11fbcda9e7525558e5..7753d8920fecd3a61cafa06034c31173ea1d5fd9 100644
 3--- a/tests/test_maybepipenv.zunit
 4+++ b/tests/test_maybepipenv.zunit
 5@@ -3,6 +3,10 @@
 6 @setup {
 7     source =virtualenvwrapper.sh
 8 
 9+    if ! type "pipenv" > /dev/null; then
10+        skip "You need to install pipenv to run these tests"
11+    fi
12+
13     echo "Creating test pipenv"
14     run pipenv --python 3
15