summaryrefslogtreecommitdiff
path: root/tests/unittests/test_distros/test_hosts.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2015-01-22 19:53:04 -0500
committerBarry Warsaw <barry@python.org>2015-01-22 19:53:04 -0500
commit8329ad5bad5d6b0fcb8f4736fb308914ca3600c7 (patch)
tree0add38939898c14cea23596c3fc15225e188b888 /tests/unittests/test_distros/test_hosts.py
parent508670bdaf9545b6bcc8e2009e8bd3f08d6f8796 (diff)
downloadvyos-cloud-init-8329ad5bad5d6b0fcb8f4736fb308914ca3600c7.tar.gz
vyos-cloud-init-8329ad5bad5d6b0fcb8f4736fb308914ca3600c7.zip
More conversions from mocker to mock.
Diffstat (limited to 'tests/unittests/test_distros/test_hosts.py')
-rw-r--r--tests/unittests/test_distros/test_hosts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unittests/test_distros/test_hosts.py b/tests/unittests/test_distros/test_hosts.py
index 687a0dab..fc701eaa 100644
--- a/tests/unittests/test_distros/test_hosts.py
+++ b/tests/unittests/test_distros/test_hosts.py
@@ -1,4 +1,4 @@
-from mocker import MockerTestCase
+import unittest
from cloudinit.distros.parsers import hosts
@@ -14,7 +14,7 @@ BASE_ETC = '''
BASE_ETC = BASE_ETC.strip()
-class TestHostsHelper(MockerTestCase):
+class TestHostsHelper(unittest.TestCase):
def test_parse(self):
eh = hosts.HostsConf(BASE_ETC)
self.assertEquals(eh.get_entry('127.0.0.1'), [['localhost']])