From b496ff9bb11949a4739ba44c75f2f5504a094fdb Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 5 Feb 2021 18:02:45 +0100 Subject: Removing annoying flake8 plugins --- minishell_test/suites/flow.py | 4 +++- minishell_test/suites/path.py | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'minishell_test/suites') diff --git a/minishell_test/suites/flow.py b/minishell_test/suites/flow.py index 90aef7f..ed5fd03 100644 --- a/minishell_test/suites/flow.py +++ b/minishell_test/suites/flow.py @@ -6,7 +6,7 @@ # By: charles +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/07/15 18:24:52 by charles #+# #+# # -# Updated: 2021/02/05 15:11:21 by charles ### ########.fr # +# Updated: 2021/02/05 17:40:00 by charles ### ########.fr # # # # ############################################################################ # @@ -20,6 +20,7 @@ from minishell_test.hooks import ( error_eof_to_expected_token ) + @suite() def suite_end(test): """ `;` tests """ @@ -58,6 +59,7 @@ def suite_end(test): test("ls " + 40 * " ; ls" + ";", setup="touch a b c") test("ls " + 80 * " ; ls" + ";", setup="touch a b c") + @suite() def suite_pipe(test): """ `|` tests """ diff --git a/minishell_test/suites/path.py b/minishell_test/suites/path.py index b350168..fa67d9a 100644 --- a/minishell_test/suites/path.py +++ b/minishell_test/suites/path.py @@ -6,7 +6,7 @@ # By: charles +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/09/09 15:12:58 by charles #+# #+# # -# Updated: 2021/02/05 14:50:19 by charles ### ########.fr # +# Updated: 2021/02/05 17:47:32 by charles ### ########.fr # # # # ############################################################################ # @@ -22,9 +22,9 @@ def suite_path(test): if whoami_path is None: print("Couldn't find `whoami` in your PATH: Skipping suite") return - mode_fmt = ("mkdir path && cp " - + whoami_path - + " ./path/a && chmod {} ./path/a") + mode_fmt = ("mkdir path && cp " + + whoami_path + + " ./path/a && chmod {} ./path/a") test("a", setup=mode_fmt.format("000"), exports={"PATH": "path"}) test("a", setup=mode_fmt.format("001"), exports={"PATH": "path"}) test("a", setup=mode_fmt.format("002"), exports={"PATH": "path"}) -- cgit