summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/test_distros/test_netconfig.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unittests/test_distros/test_netconfig.py b/tests/unittests/test_distros/test_netconfig.py
index 9954841b..55765f0c 100644
--- a/tests/unittests/test_distros/test_netconfig.py
+++ b/tests/unittests/test_distros/test_netconfig.py
@@ -50,7 +50,7 @@ class TestNetCfgDistro(MockerTestCase):
cfg['system_info']['distro'] = dname
paths = helpers.Paths({})
return cls(dname, cfg, paths)
-
+
def test_simple_write_ub(self):
ub_distro = self._get_distro('ubuntu')
util_mock = self.mocker.replace(util.write_file,
@@ -123,14 +123,13 @@ class TestNetCfgDistro(MockerTestCase):
for _i in range(0, 3):
write_mock(mocker.ARGS)
self.mocker.call(replace_write)
-
+
write_mock(mocker.ARGS)
self.mocker.call(replace_write)
self.mocker.replay()
rh_distro.apply_network(BASE_NET_CFG, False)
-
self.assertEquals(len(write_bufs), 4)
self.assertIn('/etc/sysconfig/network-scripts/ifcfg-lo', write_bufs)
write_buf = write_bufs['/etc/sysconfig/network-scripts/ifcfg-lo']