diff options
author | Ryan Harper <ryan.harper@canonical.com> | 2016-03-03 16:32:32 -0600 |
---|---|---|
committer | Ryan Harper <ryan.harper@canonical.com> | 2016-03-03 16:32:32 -0600 |
commit | 3d9153d16b194e7a3139c290e723ef17518e617d (patch) | |
tree | 61b036f51d187f6c06d85936cad59a11e8e1dc94 /tests/unittests/test_handler | |
parent | 8cb7c3f7b5339e686bfbf95996b51afafeaf9c9e (diff) | |
download | vyos-cloud-init-3d9153d16b194e7a3139c290e723ef17518e617d.tar.gz vyos-cloud-init-3d9153d16b194e7a3139c290e723ef17518e617d.zip |
Fix pyflake/pyflake3 errors
Now we can run make check to assess pep8, pyflakes for python2 or 3
And execute unittests via nosetests (2 and 3).
Diffstat (limited to 'tests/unittests/test_handler')
-rw-r--r-- | tests/unittests/test_handler/test_handler_power_state.py | 2 |
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 f9660ff6..04ce5687 100644 --- a/tests/unittests/test_handler/test_handler_power_state.py +++ b/tests/unittests/test_handler/test_handler_power_state.py @@ -106,7 +106,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: |