From 1b58359c03943ff9356482419adda12a36bf931d Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Mon, 13 May 2013 15:12:30 -0700 Subject: Fix how the 'dist' is incorrectly returned when patching the os functions. --- tests/unittests/test_handler/test_handler_set_hostname.py | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/unittests') 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") -- cgit v1.2.3