Drop nose dependency on Travis
authorgfyoung <redacted>
Sun, 9 Jul 2017 18:39:20 +0000 (11:39 -0700)
committergfyoung <redacted>
Mon, 10 Jul 2017 03:26:12 +0000 (20:26 -0700)
Nose is not a well-supported library anymore.
Let's just use Python's builtin unittest library.

ci/install_conda_env.sh
ci/test_repo.sh
readme_template.md

index 36c3968656796e13ad81fcebff2551d31f39590c..cf3cfcb25e69c1ed2ad77efff7766e7b1e9e8533 100755 (executable)
@@ -5,4 +5,4 @@ conda create -n hosts python=$PYTHON_VERSION || exit 1
 source activate hosts
 
 echo "Installing packages..."
-conda install mock nose flake8
+conda install mock flake8
index f918d9b4b158309efa8b4f7731008d0516e6c509..0ca8a7f77c69e455d631edf1d85a14a0faae3a23 100755 (executable)
@@ -3,4 +3,4 @@
 echo "Running unittests..."
 source activate hosts
 
-nosetests
+python testUpdateHostsFile.py
index 2bc9425e23b1f782bb80aea68ed84f918dc1c318..bb8df916095c88872aeb011c530b53ca07e4f8ed 100644 (file)
@@ -12,10 +12,6 @@ To run unit tests, in the top level directory, just run:
 
     python testUpdateHostsFile.py
 
-You can also install `nose` with `pip` and then just run:
-
-    nosetests
-
 **Note** if you are using Python 2, you must first install the `mock` library:
 
     pip install mock
git clone https://git.99rst.org/PROJECT