aboutsummaryrefslogtreecommitdiff
path: root/minishell_test/suites/cmd.py
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-02-28 11:04:52 +0100
committerCharles Cabergs <me@cacharle.xyz>2021-02-28 11:04:52 +0100
commitb6eb06aeee0fda77395d7b3172c44b999b70cdee (patch)
tree9e29f32a94df7340fcc335e1740062003be393cd /minishell_test/suites/cmd.py
parent348da189c00bdef866d2b597ea0250fc0f0e88dc (diff)
downloadminishell_test-b6eb06aeee0fda77395d7b3172c44b999b70cdee.tar.gz
minishell_test-b6eb06aeee0fda77395d7b3172c44b999b70cdee.tar.bz2
minishell_test-b6eb06aeee0fda77395d7b3172c44b999b70cdee.zip
Refactoring config in a class to have a testable environment
Diffstat (limited to 'minishell_test/suites/cmd.py')
-rw-r--r--minishell_test/suites/cmd.py6
1 files changed, 3 insertions, 3 deletions
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()