diff --git a/.travis.yml b/.travis.yml index d55cfdf77..54ed84263 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ language: python python: -# - "2.6" + - "2.6" - "2.7" before_install: > diff --git a/letsencrypt/client/tests/apache_configurator_test.py b/letsencrypt/client/tests/apache_configurator_test.py index a17d6cf47..daad871a0 100644 --- a/letsencrypt/client/tests/apache_configurator_test.py +++ b/letsencrypt/client/tests/apache_configurator_test.py @@ -17,7 +17,7 @@ from letsencrypt.client import logger # pylint: disable=no-member UBUNTU_CONFIGS = pkg_resources.resource_filename( - __name__, "debian_apache_2_4") + "letsencrypt.client.tests", "testdata/debian_apache_2_4") TEMP_DIR = "" CONFIG_DIR = "" @@ -34,10 +34,6 @@ def setUpModule(): logger.setLogLevel(logger.INFO) display.set_display(display.NcursesDisplay()) - if not os.path.isdir(UBUNTU_CONFIGS): - print "Please place the configuration directory: %s" % UBUNTU_CONFIGS - sys.exit(1) - TEMP_DIR = tempfile.mkdtemp("temp") CONFIG_DIR = tempfile.mkdtemp("config") WORK_DIR = tempfile.mkdtemp("work")