One more grain.item fix to comply with new dict output.

This commit is contained in:
Pedro Algarvio 2013-01-23 23:00:19 +00:00
parent 0207416f3c
commit 34522907e8

View File

@ -24,7 +24,7 @@ class TestModulesGrains(integration.ModuleCase):
'''
opts = self.minion_opts
self.assertEqual(
self.run_function('grains.item', ['test_grain']),
self.run_function('grains.item', ['test_grain'])['test_grain'],
opts['grains']['test_grain']
)