mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-04 19:46:02 +02:00
Merge pull request #355 from gfyoung/drop-nose-depend
Drop nose dependency on Travis
This commit is contained in:
commit
7ab30dec1e
|
@ -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
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
echo "Running unittests..."
|
||||
source activate hosts
|
||||
|
||||
nosetests
|
||||
python testUpdateHostsFile.py
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user