mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Fix invalid string escape sequences.
This commit is contained in:
@@ -99,7 +99,7 @@ class TestConditional(unittest.TestCase):
|
||||
when = [u"some_dict.some_dict_key1 == hostvars['host3']"]
|
||||
# self._eval_con(when, variables)
|
||||
self.assertRaisesRegexp(errors.AnsibleError,
|
||||
"The conditional check 'some_dict.some_dict_key1 == hostvars\['host3'\]' failed",
|
||||
r"The conditional check 'some_dict.some_dict_key1 == hostvars\['host3'\]' failed",
|
||||
# "The conditional check 'some_dict.some_dict_key1 == hostvars['host3']' failed",
|
||||
# "The conditional check 'some_dict.some_dict_key1 == hostvars['host3']' failed.",
|
||||
self._eval_con,
|
||||
|
||||
Reference in New Issue
Block a user