summaryrefslogtreecommitdiff
path: root/tests/unittests
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2013-05-13 15:12:30 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2013-05-13 15:12:30 -0700
commit1b58359c03943ff9356482419adda12a36bf931d (patch)
treeb61cfe5ace8fdc006bdc817b91c23885468e915c /tests/unittests
parent0716acc6ad387d61ccbaf358c13979d2efb9a6bc (diff)
downloadvyos-cloud-init-1b58359c03943ff9356482419adda12a36bf931d.tar.gz
vyos-cloud-init-1b58359c03943ff9356482419adda12a36bf931d.zip
Fix how the 'dist' is incorrectly returned when patching the os functions.
Diffstat (limited to 'tests/unittests')
-rw-r--r--tests/unittests/test_handler/test_handler_set_hostname.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/unittests/test_handler/test_handler_set_hostname.py b/tests/unittests/test_handler/test_handler_set_hostname.py
index a1aba62f..b2f01cdb 100644
--- a/tests/unittests/test_handler/test_handler_set_hostname.py
+++ b/tests/unittests/test_handler/test_handler_set_hostname.py
@@ -35,7 +35,6 @@ class TestHostname(t_help.FilesystemMockingTestCase):
ds = None
cc = cloud.Cloud(ds, paths, {}, distro, None)
self.patchUtils(self.tmp)
- self.patchOS(self.tmp)
cc_set_hostname.handle('cc_set_hostname',
cfg, cc, LOG, [])
contents = util.load_file("/etc/sysconfig/network")