summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2018-05-04 15:02:48 -0400
committerEric Lin <anselor@gmail.com>2018-05-04 15:02:48 -0400
commit3e0e3b1d38a202271d7e8356430c92d42e9c0c28 (patch)
treef044cd807f1ac340040ceb1c1ba1486673f6d3ba /tests
parent0f1283ea13d590c4ffa332c79ea6801b61babc77 (diff)
downloadcmd2-git-3e0e3b1d38a202271d7e8356430c92d42e9c0c28.tar.gz
OK, giving up. Disabling bash completion test on travis.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_bashcompletion.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/test_bashcompletion.py b/tests/test_bashcompletion.py
index 1d8caba6..22c6aa7d 100644
--- a/tests/test_bashcompletion.py
+++ b/tests/test_bashcompletion.py
@@ -22,11 +22,10 @@ except ImportError:
skip_reason1 = True
skip_reason = "argcomplete isn't installed\n"
+skip_reason2 = "TRAVIS" in os.environ and os.environ["TRAVIS"] == "true"
+if skip_reason2:
+ skip_reason += 'These tests cannot run on TRAVIS\n'
-# skip_reason2 = "TRAVIS" in os.environ and os.environ["TRAVIS"] == "true"
-# if skip_reason2:
-# skip_reason += 'These tests cannot run on TRAVIS\n'
-skip_reason2 = False
skip_reason3 = sys.platform.startswith('win')
if skip_reason3:
skip_reason = 'argcomplete doesn\'t support Windows'