summaryrefslogtreecommitdiff
path: root/tests/unittests/test_handler/test_handler_power_state.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-03 16:54:49 -0500
committerScott Moser <smoser@ubuntu.com>2016-03-03 16:54:49 -0500
commitda39ad69e3ee240df7354eb2c2f33bdaba9194f6 (patch)
treeaf3bbaf35c2bfad074c5136bffc92caebed8fd31 /tests/unittests/test_handler/test_handler_power_state.py
parentf4c25ab96c572e0a503bb211a11cd2641ac321a3 (diff)
parentb1046db66bbed6a063f218992449b8abfd1ae99b (diff)
downloadvyos-cloud-init-da39ad69e3ee240df7354eb2c2f33bdaba9194f6.tar.gz
vyos-cloud-init-da39ad69e3ee240df7354eb2c2f33bdaba9194f6.zip
merge with 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 5687b10d..cd376e9c 100644
--- a/tests/unittests/test_handler/test_handler_power_state.py
+++ b/tests/unittests/test_handler/test_handler_power_state.py
@@ -107,7 +107,7 @@ def check_lps_ret(psc_return, mode=None):
if 'shutdown' not in psc_return[0][0]:
errs.append("string 'shutdown' not in cmd")
- if 'condition' is None:
+ if condition is None:
errs.append("condition was not returned")
if mode is not None: