Fixing test documentation

This commit is contained in:
Gareth J. Greenaway 2018-03-30 14:47:47 -07:00
parent 6cff02ef6a
commit 3d288c44d4
No known key found for this signature in database
GPG key ID: 10B62F8A7CAD7A41

View file

@ -1349,13 +1349,11 @@ class StateModuleTest(ModuleCase, SaltReturnAssertsMixin):
def test_issue_46762_prereqs_on_a_state_with_unfulfilled_requirements(self):
'''
This tests the case where require, order, and failhard are all used together in a state definition.
This tests the case where state C requires state A which fails.
State C is a prereq for State B.
Previously, the order option, which used in tandem with require and failhard, would cause the state
compiler to stacktrace. This exposed a logic error in the ``check_failhard`` function of the state
compiler. With the logic error resolved, this test should now pass.
See https://github.com/saltstack/salt/issues/38683 for more information.
See https://github.com/saltstack/salt/issues/46762 for
more information.
'''
state_run = self.run_function(
'state.sls',