From 11b1f1c14e2c5433d267c53c3e2aa6ce57210962 Mon Sep 17 00:00:00 2001 From: Mathieu Couette <12388398+MathieuCouette@users.noreply.github.com> Date: Thu, 8 Oct 2020 17:29:06 -0400 Subject: [PATCH] tests: Fix indentation issues --- tests/test_module.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_module.py b/tests/test_module.py index 0407ad8..570992d 100644 --- a/tests/test_module.py +++ b/tests/test_module.py @@ -47,8 +47,7 @@ class ModuleTestCase(unittest.TestCase): subprocess.check_output([PYTHON, '-m', 'yamllint'], stderr=subprocess.STDOUT) self.assertEqual(ctx.exception.returncode, 2) - self.assertRegex(ctx.exception.output.decode(), - r'^usage: yamllint') + self.assertRegex(ctx.exception.output.decode(), r'^usage: yamllint') def test_run_module_on_bad_dir(self): with self.assertRaises(subprocess.CalledProcessError) as ctx: @@ -56,7 +55,7 @@ class ModuleTestCase(unittest.TestCase): '/does/not/exist'], stderr=subprocess.STDOUT) self.assertRegex(ctx.exception.output.decode(), - r'No such file or directory') + r'No such file or directory') def test_run_module_on_file(self): out = subprocess.check_output(