mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 05:06:39 +00:00
support/testing/tests/fs/test_f2fs: fix flake8 warning
This commit fixes the following flake8 warnings: support/testing/tests/fs/test_f2fs.py:6:1: E302 expected 2 blank lines, found 1 support/testing/tests/fs/test_f2fs.py:12:1: E302 expected 2 blank lines, found 1 support/testing/tests/fs/test_f2fs.py:38:23: E225 missing whitespace around operator Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
6e5a204dd8
commit
bff6b61adf
@ -3,12 +3,14 @@ import subprocess
|
|||||||
|
|
||||||
import infra.basetest
|
import infra.basetest
|
||||||
|
|
||||||
|
|
||||||
def dumpf2fs_getprop(out, prop):
|
def dumpf2fs_getprop(out, prop):
|
||||||
for line in out:
|
for line in out:
|
||||||
fields = line.split(" = ")
|
fields = line.split(" = ")
|
||||||
if fields[0] == prop:
|
if fields[0] == prop:
|
||||||
return fields[1].strip()
|
return fields[1].strip()
|
||||||
|
|
||||||
|
|
||||||
class TestF2FS(infra.basetest.BRTest):
|
class TestF2FS(infra.basetest.BRTest):
|
||||||
config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
|
config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user