From ef8d1f1b15858ed0b86fb92e03d1c3797c6c1e1f Mon Sep 17 00:00:00 2001 From: Ricardo Martincoski Date: Thu, 5 Oct 2017 18:42:09 -0300 Subject: support/testing: fix code style Fix the trivial warnings from flake8: - remove modules imported but unused; - use 2 lines before class or module level method; - remove blank line at end of file. Signed-off-by: Ricardo Martincoski Acked-by: "Yann E. MORIN" Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- support/testing/infra/basetest.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'support/testing/infra/basetest.py') diff --git a/support/testing/infra/basetest.py b/support/testing/infra/basetest.py index 52dad7c43d..5210f0ae58 100644 --- a/support/testing/infra/basetest.py +++ b/support/testing/infra/basetest.py @@ -28,6 +28,7 @@ MINIMAL_CONFIG = \ # BR2_TARGET_ROOTFS_TAR is not set """ + class BRTest(unittest.TestCase): config = None downloaddir = None @@ -47,6 +48,7 @@ class BRTest(unittest.TestCase): def show_msg(self, msg): print "{} {:40s} {}".format(datetime.datetime.now().strftime("%H:%M:%S"), self.testname, msg) + def setUp(self): self.show_msg("Starting") self.b = Builder(self.config, self.builddir, self.logtofile) -- cgit v1.2.3