mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Fixing up v2 unit tests
This commit is contained in:
parent
361eb29146
commit
1ca8cb8553
4 changed files with 21 additions and 10 deletions
|
@ -137,6 +137,7 @@ class TestVariableManager(unittest.TestCase):
|
|||
fake_loader = DictDataLoader({})
|
||||
|
||||
mock_task = MagicMock()
|
||||
mock_task._role = None
|
||||
mock_task.get_vars.return_value = dict(foo="bar")
|
||||
|
||||
v = VariableManager()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue