diff options
author | Barry Warsaw <barry@python.org> | 2015-01-22 20:30:10 -0500 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2015-01-22 20:30:10 -0500 |
commit | c0aae445119252134e8c89b3b73999ed213135f1 (patch) | |
tree | f4ca2238c25a97f242228c8d504c4af86f011046 /tests/unittests/test_distros/test_resolv.py | |
parent | 8329ad5bad5d6b0fcb8f4736fb308914ca3600c7 (diff) | |
download | vyos-cloud-init-c0aae445119252134e8c89b3b73999ed213135f1.tar.gz vyos-cloud-init-c0aae445119252134e8c89b3b73999ed213135f1.zip |
More conversions from mocker to mock.
Diffstat (limited to 'tests/unittests/test_distros/test_resolv.py')
-rw-r--r-- | tests/unittests/test_distros/test_resolv.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unittests/test_distros/test_resolv.py b/tests/unittests/test_distros/test_resolv.py index 6b6ff6aa..779b83e3 100644 --- a/tests/unittests/test_distros/test_resolv.py +++ b/tests/unittests/test_distros/test_resolv.py @@ -1,8 +1,7 @@ -from mocker import MockerTestCase - from cloudinit.distros.parsers import resolv_conf import re +import unittest BASE_RESOLVE = ''' @@ -14,7 +13,7 @@ nameserver 10.15.30.92 BASE_RESOLVE = BASE_RESOLVE.strip() -class TestResolvHelper(MockerTestCase): +class TestResolvHelper(unittest.TestCase): def test_parse_same(self): rp = resolv_conf.ResolvConf(BASE_RESOLVE) rp_r = str(rp).strip() |