mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Fix invalid string escape sequences.
This commit is contained in:
@@ -285,7 +285,7 @@ class TestScriptVaultSecret(unittest.TestCase):
|
||||
with patch.object(secret, 'loader') as mock_loader:
|
||||
mock_loader.is_executable = MagicMock(return_value=True)
|
||||
self.assertRaisesRegexp(errors.AnsibleError,
|
||||
'Vault password script.*returned non-zero \(%s\): %s' % (rc, stderr),
|
||||
r'Vault password script.*returned non-zero \(%s\): %s' % (rc, stderr),
|
||||
secret.load)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user