summaryrefslogtreecommitdiff
path: root/tests/unittests/test_handler/test_handler_power_state.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-09-02 12:18:21 -0400
committerScott Moser <smoser@ubuntu.com>2014-09-02 12:18:21 -0400
commitcc77628e1ee3cd03d1ec2e17f1d744c8f4b0938b (patch)
treee9bdcbc699eda6db5e57d35b25d222bead96da12 /tests/unittests/test_handler/test_handler_power_state.py
parentfbfd3789ede42ad50e0b79f202ab18b65537af52 (diff)
parente39abc783f7edd6435dbc7ea1fc3d02e6b3955d3 (diff)
downloadvyos-cloud-init-cc77628e1ee3cd03d1ec2e17f1d744c8f4b0938b.tar.gz
vyos-cloud-init-cc77628e1ee3cd03d1ec2e17f1d744c8f4b0938b.zip
merge from trunk
Diffstat (limited to 'tests/unittests/test_handler/test_handler_power_state.py')
-rw-r--r--tests/unittests/test_handler/test_handler_power_state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_handler/test_handler_power_state.py b/tests/unittests/test_handler/test_handler_power_state.py
index 4b7b2112..2f86b8f8 100644
--- a/tests/unittests/test_handler/test_handler_power_state.py
+++ b/tests/unittests/test_handler/test_handler_power_state.py
@@ -67,7 +67,7 @@ def check_lps_ret(psc_return, mode=None):
cmd = psc_return[0]
timeout = psc_return[1]
- if not 'shutdown' in psc_return[0][0]:
+ if 'shutdown' not in psc_return[0][0]:
errs.append("string 'shutdown' not in cmd")
if mode is not None: