From b6eb06aeee0fda77395d7b3172c44b999b70cdee Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sun, 28 Feb 2021 11:04:52 +0100 Subject: Refactoring config in a class to have a testable environment --- minishell_test/suites/cmd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'minishell_test/suites/cmd.py') diff --git a/minishell_test/suites/cmd.py b/minishell_test/suites/cmd.py index 8d2bc09..66acf97 100644 --- a/minishell_test/suites/cmd.py +++ b/minishell_test/suites/cmd.py @@ -13,7 +13,7 @@ import distutils from minishell_test import hooks -from minishell_test import config +from minishell_test.config import Config from minishell_test.suite.decorator import suite @@ -105,8 +105,8 @@ def suite_cmd(test): "asd f asd f asdf asdf asdf asd f asd f asd f asd f as df as df a" "asd f asd f asdf asdf asdf asd f asd f asd f asd f as df as df a" "asd f asd f asdf asdf asdf asd f asd f asd f asd f as df as df a") - test("echo " + config.LOREM * 10) - test("echo " + config.LOREM * 20) + test("echo " + Config.lorem * 10) + test("echo " + Config.lorem * 20) @suite() -- cgit