aboutsummaryrefslogtreecommitdiff
path: root/lava_dispatcher/actions/test
diff options
context:
space:
mode:
authorNeil Williams <neil.williams@linaro.org>2018-07-05 13:43:40 +0100
committerNeil Williams <neil.williams@linaro.org>2018-07-10 09:46:12 +0100
commit3a6e4895a99f1cc34430b8d8d9c653d8621b0cd3 (patch)
treef013821894759bec8e1154b001f514fd886f2967 /lava_dispatcher/actions/test
parent59d345080f6a582892c9e81a33cdfdc036e7eabc (diff)
Some pylint fixes
Change-Id: Ic5c1b533c3479b4fdb8cbfe56d051022d1efa779
Diffstat (limited to 'lava_dispatcher/actions/test')
-rw-r--r--lava_dispatcher/actions/test/monitor.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/lava_dispatcher/actions/test/monitor.py b/lava_dispatcher/actions/test/monitor.py
index 6760febfd..865984398 100644
--- a/lava_dispatcher/actions/test/monitor.py
+++ b/lava_dispatcher/actions/test/monitor.py
@@ -23,10 +23,7 @@ import pexpect
from collections import OrderedDict
from lava_dispatcher.action import Pipeline
-from lava_common.exceptions import (
- InfrastructureError,
- LAVABug,
-)
+from lava_common.exceptions import InfrastructureError
from lava_dispatcher.actions.test import (
TestAction,
)
@@ -57,8 +54,7 @@ class TestMonitor(LavaTest):
if all([x for x in required_parms if x in monitor]):
return True, 'accepted'
return False, 'missing a required parameter from %s' % required_parms
- else:
- return False, '"monitors" not in parameters'
+ return False, '"monitors" not in parameters'
@classmethod
def needs_deployment_data(cls):