summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-02-12 14:56:55 -0500
committerScott Moser <smoser@ubuntu.com>2014-02-12 14:56:55 -0500
commit20305aea1eac724069e0bfaaf976ec5caa8c2439 (patch)
treec631bbfc05dd9265b28dcff4bccdf9aa56148b79 /tests
parent8d117d37e2945369abaa66d1e30f153e483c3faf (diff)
downloadvyos-cloud-init-20305aea1eac724069e0bfaaf976ec5caa8c2439.tar.gz
vyos-cloud-init-20305aea1eac724069e0bfaaf976ec5caa8c2439.zip
drop 'is_excluded'.
for now, this the mechanism just doesn't seem right. I think i'd rather have the module declare supported distros than have distros declare [un]supported modules.
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/test_distros/test_is_excluded.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/unittests/test_distros/test_is_excluded.py b/tests/unittests/test_distros/test_is_excluded.py
deleted file mode 100644
index 53a4445c..00000000
--- a/tests/unittests/test_distros/test_is_excluded.py
+++ /dev/null
@@ -1,15 +0,0 @@
-from cloudinit.distros import gentoo
-import unittest
-
-
-class TestIsExcluded(unittest.TestCase):
-
- def setUp(self):
- self.distro = gentoo.Distro('gentoo', {}, None)
- self.distro.exclude_modules = ['test-module']
-
- def test_is_excluded_success(self):
- self.assertEqual(self.distro.is_excluded('test-module'), True)
-
- def test_is_excluded_fail(self):
- self.assertEqual(self.distro.is_excluded('missing'), None)