unit test update

grain value looks for list in assertion
This commit is contained in:
Brian Stevenson 2016-03-23 10:50:32 -07:00
parent 39adf86fec
commit 1dc8f5f289

View File

@ -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)