Assert specifically against True

This commit is contained in:
Joseph Hall 2023-09-18 14:05:54 -06:00 committed by Megan Wilhite
parent 94f233cefa
commit 845853c1bd
2 changed files with 2 additions and 2 deletions

View file

@ -23,4 +23,4 @@ def modules(loaders, _formula):
def test_sudoers_formula(modules):
ret = modules.state.sls("sudoers")
for staterun in ret:
assert staterun.result
assert staterun.result is True

View file

@ -23,4 +23,4 @@ def modules(loaders, _formula):
def test_vim_formula(modules):
ret = modules.state.sls("vim")
for staterun in ret:
assert staterun.result
assert staterun.result is True