mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
support/testing/tests: fix flake8 warnings
Fixes the following flake8 warnings: support/testing/tests/core/test_selinux.py:21:1: E302 expected 2 blank lines, found 1 support/testing/tests/core/test_selinux.py:38:1: E302 expected 2 blank lines, found 1 support/testing/tests/core/test_selinux.py:51:1: E302 expected 2 blank lines, found 1 support/testing/tests/core/test_selinux.py:62:1: E302 expected 2 blank lines, found 1 support/testing/tests/core/test_selinux.py:65:14: E127 continuation line over-indented for visual indent support/testing/tests/init/test_systemd_selinux.py:53:1: E302 expected 2 blank lines, found 1 support/testing/tests/init/test_systemd_selinux.py:64:1: E302 expected 2 blank lines, found 1 Interestingly, the "continuation line over-indented for visual indent" shows up only once, while the same pattern is there at multiple places in the file. We fix all places with that over-indentation pattern. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
b2019a5183
commit
0a5c9f824a
@@ -50,6 +50,7 @@ class TestSELinuxSystemd(infra.basetest.BRTest):
|
||||
self.assertEqual(ret, 0)
|
||||
self.assertEqual(out[0], "system_u:system_r:init_t\0")
|
||||
|
||||
|
||||
class TestSELinuxSystemdExt4(TestSELinuxSystemd):
|
||||
config = TestSELinuxSystemd.config + \
|
||||
"""
|
||||
@@ -61,6 +62,7 @@ class TestSELinuxSystemdExt4(TestSELinuxSystemd):
|
||||
def test_run(self):
|
||||
self.run_tests("ext4")
|
||||
|
||||
|
||||
class TestSELinuxSystemdSquashfs(TestSELinuxSystemd):
|
||||
config = TestSELinuxSystemd.config + \
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user