mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Assert against True, not unspecified
This commit is contained in:
parent
e3c428e61b
commit
c5936f92ae
2 changed files with 3 additions and 3 deletions
|
@ -25,4 +25,4 @@ def test_formula(modules):
|
|||
assert not ret.errors
|
||||
assert not ret.failed
|
||||
for staterun in ret:
|
||||
assert staterun.result
|
||||
assert staterun.result is True
|
||||
|
|
|
@ -27,7 +27,7 @@ def test_users_formula(modules):
|
|||
assert not ret.errors
|
||||
assert not ret.failed
|
||||
for staterun in ret:
|
||||
assert staterun.result
|
||||
assert staterun.result is True
|
||||
|
||||
# bashrc
|
||||
ret = modules.state.sls("users.bashrc")
|
||||
|
@ -36,4 +36,4 @@ def test_users_formula(modules):
|
|||
assert not ret.errors
|
||||
assert not ret.failed
|
||||
for staterun in ret:
|
||||
assert staterun.result
|
||||
assert staterun.result is True
|
||||
|
|
Loading…
Add table
Reference in a new issue