From: funilrys Date: Wed, 28 Feb 2018 22:29:18 +0000 (+0100) Subject: Fix tests issues. X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=1141823bc8ef36a18309c0011702d5a96e175335;p=stevenblack-hosts.git Fix tests issues. This patch introduce the installation of dependencies needed my the main commit. This patch fixes: * https://travis-ci.org/funilrys/hosts/jobs/347504195#L592 * https://travis-ci.org/funilrys/hosts/jobs/347504195#L598 --- diff --git a/ci/setup_conda_env.sh b/ci/setup_conda_env.sh index cf3cfcb25..a5bb3e1bc 100755 --- a/ci/setup_conda_env.sh +++ b/ci/setup_conda_env.sh @@ -5,4 +5,4 @@ conda create -n hosts python=$PYTHON_VERSION || exit 1 source activate hosts echo "Installing packages..." -conda install mock flake8 +conda install mock flake8 beautifulsoup4 lxml diff --git a/updateHostsFile.py b/updateHostsFile.py index 0482d8a60..e28f0de5a 100644 --- a/updateHostsFile.py +++ b/updateHostsFile.py @@ -24,7 +24,7 @@ import tempfile import time from glob import glob -import lxml # noqa: F401 +import lxml # noqa: F401 from bs4 import BeautifulSoup # Detecting Python 3 for version-dependent implementations