diff options
author | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-06-07 10:58:38 +0200 |
---|---|---|
committer | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-06-07 10:58:38 +0200 |
commit | f4df4fbf200ef04c841bc36baa559bce265fcb38 (patch) | |
tree | d41f0efb8289d3cf17586e05c9fec72990c647c1 /tests | |
parent | cea03ed6bc71d9efe77f296662817d766458e3ac (diff) | |
download | vyos-cloud-init-f4df4fbf200ef04c841bc36baa559bce265fcb38.tar.gz vyos-cloud-init-f4df4fbf200ef04c841bc36baa559bce265fcb38.zip |
enable test_handler_apt_source unittests on CentOS
Tested and working on CentOS7 (container), so we can enable the tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unittests/test_handler/test_handler_apt_source.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/unittests/test_handler/test_handler_apt_source.py b/tests/unittests/test_handler/test_handler_apt_source.py index 6223674b..3f87fad3 100644 --- a/tests/unittests/test_handler/test_handler_apt_source.py +++ b/tests/unittests/test_handler/test_handler_apt_source.py @@ -16,7 +16,6 @@ from cloudinit.config import cc_apt_configure from cloudinit import util from ..helpers import TestCase -from .. import helpers as t_help BIN_APT = "/usr/bin/apt" @@ -42,8 +41,6 @@ def load_tfile_or_url(*args, **kwargs): return util.decode_binary(util.read_file_or_url(*args, **kwargs).contents) -# This feature is apt specific and thereby is disabled in environments without -@t_help.skipIf(not os.path.isfile(BIN_APT), "no apt") class TestAptSourceConfig(TestCase): """TestAptSourceConfig Main Class to test apt_source configs |