mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 14:21:26 -07:00
parent
17b3171917
commit
0d068f1e3a
3 changed files with 20 additions and 1 deletions
|
@ -502,6 +502,14 @@ class TestTaskExecutor(unittest.TestCase):
|
|||
'a_list': ['POPCORN'],
|
||||
},
|
||||
'a_list': ['POPCORN'],
|
||||
'list_of_lists': [
|
||||
['some', 'thing'],
|
||||
],
|
||||
'list_of_dicts': [
|
||||
{
|
||||
'remove': 'POPCORN',
|
||||
}
|
||||
],
|
||||
}
|
||||
|
||||
expected = {
|
||||
|
@ -516,6 +524,10 @@ class TestTaskExecutor(unittest.TestCase):
|
|||
'a_list': ['POPCORN'],
|
||||
},
|
||||
'a_list': ['POPCORN'],
|
||||
'list_of_lists': [
|
||||
['some', 'thing'],
|
||||
],
|
||||
'list_of_dicts': [{}],
|
||||
}
|
||||
|
||||
self.assertEqual(remove_omit(data, omit_token), expected)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue