Merge pull request #355 from gfyoung/drop-nose-depend

Drop nose dependency on Travis
This commit is contained in:
Steven Black 2017-07-10 17:38:53 -04:00 committed by GitHub
commit 7ab30dec1e
3 changed files with 2 additions and 6 deletions

View File

@ -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

View File

@ -3,4 +3,4 @@
echo "Running unittests..."
source activate hosts
nosetests
python testUpdateHostsFile.py

View 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