diff --git a/cloudinit/config/tests/test_resolv_conf.py b/cloudinit/config/tests/test_resolv_conf.py index f3d97b8276d..6546a0b5ba8 100644 --- a/cloudinit/config/tests/test_resolv_conf.py +++ b/cloudinit/config/tests/test_resolv_conf.py @@ -35,8 +35,8 @@ def test_target_fname_is_used_if_passed(self, m_render_to_file): # Patch in templater so we can assert on the actual generated content @mock.patch("cloudinit.templater.util.write_file") # Parameterise with the value to be passed to generate_resolv_conf as the - # `params` parameter, and a list of the expected lines after the header as - # `extra_lines`. + # params parameter, and the expected line after the header as + # expected_extra_line. @pytest.mark.parametrize( "params,expected_extra_line", [