diff options
author | Ricardo Martincoski <ricardo.martincoski@gmail.com> | 2017-10-05 18:42:09 -0300 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2017-10-06 18:56:49 +0200 |
commit | ef8d1f1b15858ed0b86fb92e03d1c3797c6c1e1f (patch) | |
tree | f1187ecd2a501454fc53e9ae03b89e4480f1d40e /support/testing/infra/basetest.py | |
parent | 2927f412be6fd52961a2cd9aaed203d57609eef9 (diff) | |
download | buildroot-ef8d1f1b15858ed0b86fb92e03d1c3797c6c1e1f.tar.gz buildroot-ef8d1f1b15858ed0b86fb92e03d1c3797c6c1e1f.zip |
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 <ricardo.martincoski@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'support/testing/infra/basetest.py')
-rw-r--r-- | support/testing/infra/basetest.py | 2 |
1 files changed, 2 insertions, 0 deletions
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) |