diff options
author | zsdc <taras@vyos.io> | 2020-12-25 17:52:03 +0200 |
---|---|---|
committer | zsdc <taras@vyos.io> | 2020-12-25 17:52:03 +0200 |
commit | 526c2760b85ff625a10f4a1c9ba83759d8de1441 (patch) | |
tree | c7a87d78a7944dd6a9d02544d1605f3a7d77e313 /tests/unittests/test_distros/test_resolv.py | |
parent | 66dc53b1b3f8786f3bbb25e914c1dc8161af0494 (diff) | |
parent | 47f4229ebcef9f83df8b549bb869a2dbf6dff17c (diff) | |
download | vyos-cloud-init-526c2760b85ff625a10f4a1c9ba83759d8de1441.tar.gz vyos-cloud-init-526c2760b85ff625a10f4a1c9ba83759d8de1441.zip |
T2117: Cloud-init updated to 20.4
Merged with 20.4 tag from the upstream Cloud-init repository
Diffstat (limited to 'tests/unittests/test_distros/test_resolv.py')
-rw-r--r-- | tests/unittests/test_distros/test_resolv.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/unittests/test_distros/test_resolv.py b/tests/unittests/test_distros/test_resolv.py index 68ea0083..7d940750 100644 --- a/tests/unittests/test_distros/test_resolv.py +++ b/tests/unittests/test_distros/test_resolv.py @@ -1,12 +1,10 @@ # This file is part of cloud-init. See LICENSE file for license information. from cloudinit.distros.parsers import resolv_conf -from cloudinit.distros import rhel_util from cloudinit.tests.helpers import TestCase import re -import tempfile BASE_RESOLVE = ''' @@ -24,10 +22,6 @@ class TestResolvHelper(TestCase): rp_r = str(rp).strip() self.assertEqual(BASE_RESOLVE, rp_r) - def test_write_works(self): - with tempfile.NamedTemporaryFile() as fh: - rhel_util.update_resolve_conf_file(fh.name, [], []) - def test_local_domain(self): rp = resolv_conf.ResolvConf(BASE_RESOLVE) self.assertIsNone(rp.local_domain) |