diff --git a/roles/common/molecule/default/tests/test_parameters_mandatory.py b/roles/common/molecule/default/tests/test_parameters_mandatory.py index 325e454aa2a79ccf6a38204088c1255c25724216..6379f00f509a5a4c0c1c7dbeb04be77c2728dff1 100644 --- a/roles/common/molecule/default/tests/test_parameters_mandatory.py +++ b/roles/common/molecule/default/tests/test_parameters_mandatory.py @@ -26,8 +26,8 @@ def test_bash_prompt_content(host): bash_prompt = host.file('/etc/profile.d/bash_prompt.sh') - assert "export PS1='\\[\\e]0;\\u@\\h: \\w\\a\\]${debian_chroot:+($debian_chroot)}\\[\\033[0m\\]\\u@\\h:\\w\\$ \\[\\033[0m\\]'" in bash_prompt.content - assert "export PS1='\\[\\e]0;\\u@\\h: \\w\\a\\]${debian_chroot:+($debian_chroot)}\\u@\\h:\\w\\$ '" in bash_prompt.content + assert "export PS1='\\[\\e]0;\\u@\\h: \\w\\a\\]${debian_chroot:+($debian_chroot)}\\[\\033[0m\\]\\u@\\h:\\w\\$ \\[\\033[0m\\]'" in bash_prompt.content_string + assert "export PS1='\\[\\e]0;\\u@\\h: \\w\\a\\]${debian_chroot:+($debian_chroot)}\\u@\\h:\\w\\$ '" in bash_prompt.content_string def test_ssh_login_mechanisms(host): @@ -70,7 +70,7 @@ def test_ferm_base_rules(host): with host.sudo(): ferm_base = host.file('/etc/ferm/conf.d/00-base.conf') - assert "mod hashlimit hashlimit 3/second hashlimit-burst 9" in ferm_base.content + assert "mod hashlimit hashlimit 3/second hashlimit-burst 9" in ferm_base.content_string iptables = host.command('iptables-save')