summaryrefslogtreecommitdiffstats
path: root/support/testing/tests/fs/test_jffs2.py
diff options
context:
space:
mode:
authorRicardo Martincoski <ricardo.martincoski@gmail.com>2017-10-05 18:42:09 -0300
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-10-06 18:56:49 +0200
commitef8d1f1b15858ed0b86fb92e03d1c3797c6c1e1f (patch)
treef1187ecd2a501454fc53e9ae03b89e4480f1d40e /support/testing/tests/fs/test_jffs2.py
parent2927f412be6fd52961a2cd9aaed203d57609eef9 (diff)
downloadbuildroot-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/tests/fs/test_jffs2.py')
-rw-r--r--support/testing/tests/fs/test_jffs2.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/support/testing/tests/fs/test_jffs2.py b/support/testing/tests/fs/test_jffs2.py
index a84c858238..2ff5099180 100644
--- a/support/testing/tests/fs/test_jffs2.py
+++ b/support/testing/tests/fs/test_jffs2.py
@@ -3,6 +3,7 @@ import subprocess
import infra.basetest
+
def jffs2dump_find_file(files_list, fname):
for file_name in files_list:
file_name = file_name.strip()
@@ -10,6 +11,7 @@ def jffs2dump_find_file(files_list, fname):
return True
return False
+
class TestJffs2(infra.basetest.BRTest):
config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
"""
OpenPOWER on IntegriCloud