summaryrefslogtreecommitdiffstats
path: root/test/units/config
diff options
context:
space:
mode:
Diffstat (limited to 'test/units/config')
-rw-r--r--test/units/config/test_manager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/units/config/test_manager.py b/test/units/config/test_manager.py
index 15c9c1fb50..a957e39749 100644
--- a/test/units/config/test_manager.py
+++ b/test/units/config/test_manager.py
@@ -134,7 +134,7 @@ class TestConfigManager:
def test_entry_as_vault_var(self):
class MockVault:
- def decrypt(self, value):
+ def decrypt(self, value, filename=None, obj=None):
return value
vault_var = AnsibleVaultEncryptedUnicode(b"vault text")
@@ -147,7 +147,7 @@ class TestConfigManager:
@pytest.mark.parametrize("value_type", ("str", "string", None))
def test_ensure_type_with_vaulted_str(self, value_type):
class MockVault:
- def decrypt(self, value):
+ def decrypt(self, value, filename=None, obj=None):
return value
vault_var = AnsibleVaultEncryptedUnicode(b"vault text")