More fixes for travis tests

This commit is contained in:
Wilfried Teiken 2016-01-06 03:11:09 -05:00
parent b73b410729
commit 6bc3060fbb
2 changed files with 2 additions and 2 deletions

View file

@ -245,7 +245,7 @@ class DNS01Response(KeyAuthorizationChallengeResponse):
from acme import dns_resolver
txt_records = dns_resolver.txt_records_for_name(
validation_domain_name)
except ImportError:
except ImportError: # pragma: no cover
raise ImportError("Local validation for 'dns-01' challenges "
"requires 'dnspython'")
exists = validation in txt_records

View file

@ -15,7 +15,7 @@ envlist = py26,py27,py33,py34,py35,cover,lint
# packages installed separately to ensure that dowstream deps problems
# are detected, c.f. #1002
commands =
pip install -e acme[testing]
pip install -e acme[dns,testing]
nosetests -v acme
pip install -e .[testing]
nosetests -v letsencrypt