mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Updating base strategy unit test regarding bad file loads based on earlier change
This commit is contained in:
parent
3c7faa8378
commit
3b913943b2
1 changed files with 2 additions and 1 deletions
|
@ -309,7 +309,8 @@ class TestStrategyBase(unittest.TestCase):
|
|||
res = strategy_base._load_included_file(included_file=mock_inc_file, iterator=mock_iterator)
|
||||
|
||||
mock_inc_file._filename = "bad.yml"
|
||||
self.assertRaises(AnsibleParserError, strategy_base._load_included_file, included_file=mock_inc_file, iterator=mock_iterator)
|
||||
res = strategy_base._load_included_file(included_file=mock_inc_file, iterator=mock_iterator)
|
||||
self.assertEqual(res, [])
|
||||
|
||||
def test_strategy_base_run_handlers(self):
|
||||
workers = []
|
||||
|
|
Loading…
Reference in a new issue