kumquat-buildroot/support/testing/tests/fs/test_yaffs2.py
Ricardo Martincoski ef8d1f1b15 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>
2017-10-06 18:56:49 +02:00

16 lines
371 B
Python

import os
import infra.basetest
class TestYaffs2(infra.basetest.BRTest):
config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
infra.basetest.MINIMAL_CONFIG + \
"""
BR2_TARGET_ROOTFS_YAFFS2=y
"""
def test_run(self):
img = os.path.join(self.builddir, "images", "rootfs.yaffs2")
self.assertTrue(os.path.exists(img))