diff --git a/roles/preseed/molecule/default/tests/test_parameters_mandatory.py b/roles/preseed/molecule/default/tests/test_parameters_mandatory.py index 7c77d8482c8090bd23e857a325ea53af95269829..d0060801453de2a70c8ae685ebab2296d8c54a28 100644 --- a/roles/preseed/molecule/default/tests/test_parameters_mandatory.py +++ b/roles/preseed/molecule/default/tests/test_parameters_mandatory.py @@ -53,7 +53,7 @@ def test_preseed_configuration_file_content(host): with host.sudo(): preseed_file = host.file(os.path.join("/tmp/molecule/preseed/default/inventory", "preseed_files", "%s.cfg" % hostname)) - preseed_file_content = preseed_file.content_string + preseed_file_content = preseed_file.content_string_string ssh_public_key = open(os.path.join(os.path.expanduser("~"), ".ssh", "id_rsa.pub")).read().strip() assert "d-i debian-installer/language string en" in preseed_file_content