summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/config/tests/test_resolv_conf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/config/tests/test_resolv_conf.py b/cloudinit/config/tests/test_resolv_conf.py
index 45a06c22..aff110e5 100644
--- a/cloudinit/config/tests/test_resolv_conf.py
+++ b/cloudinit/config/tests/test_resolv_conf.py
@@ -2,7 +2,7 @@ import pytest
from unittest import mock
from cloudinit.config.cc_resolv_conf import generate_resolv_conf
-from tests.unittests.test_distros.test_create_users import MyBaseDistro
+from tests.unittests.util import TestingDistro
EXPECTED_HEADER = """\
# Your system has been configured with 'manage-resolv-conf' set to true.
@@ -14,7 +14,7 @@ EXPECTED_HEADER = """\
class TestGenerateResolvConf:
- dist = MyBaseDistro()
+ dist = TestingDistro()
tmpl_fn = "templates/resolv.conf.tmpl"
@mock.patch("cloudinit.config.cc_resolv_conf.templater.render_to_file")