Fix #1268, this adds the working test for recursive requisite errors

This commit is contained in:
Thomas S Hatch 2012-05-13 23:16:45 -06:00
parent 274ba484be
commit 04652619d8

View File

@ -33,7 +33,7 @@ class StateModuleTest(integration.ModuleCase):
state.show_sls used to catch a recursive ref
'''
err = self.run_function('state.sls', mods='recurse_fail')
print err
self.assertIn('recursive', err[0])
if __name__ == "__main__":
loader = TestLoader()