mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
unit test update
grain value looks for list in assertion
This commit is contained in:
parent
39adf86fec
commit
1dc8f5f289
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ class GrainsTestCase(TestCase):
|
|||
|
||||
with patch.dict(grains.__opts__, {'test': True}):
|
||||
with patch.dict(grains.__grains__, {self.name: [self.value]}):
|
||||
self.assertDictEqual(grains.list_absent(self.name, self.value),
|
||||
self.assertDictEqual(grains.list_absent(self.name, [self.value]),
|
||||
ret1)
|
||||
|
||||
self.assertDictEqual(grains.list_absent(self.name, self.value), ret2)
|
||||
|
|
Loading…
Add table
Reference in a new issue