Fix how the 'dist' is incorrectly returned when patching the os functions.

This commit is contained in:
Joshua Harlow
2013-05-13 15:12:30 -07:00
parent d76f87bc3f
commit 2c2d0bafba

View File

@@ -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")