[V1,3/5] framework/tester: fix pylama errors
Commit Message
Pylama found the following errors:
framework/tester.py:249: [E] E1136 Value 'self.duts' is unsubscriptable [pylint]
framework/tester.py:261: [E] E1133 Non-iterable value self.duts is used in an iterating context [pylint]
Signed-off-by: Jun Dong <junx.dong@intel.com>
---
framework/tester.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -85,7 +85,7 @@ class Tester(Crb):
check_crb_python_version(self)
self.bgProcIsRunning = False
- self.duts = None
+ self.duts = []
self.inBg = 0
self.scapyCmds = []
self.bgCmds = []