aboutsummaryrefslogtreecommitdiff
path: root/suite.py
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-07-19 16:06:33 +0200
committerCharles <sircharlesaze@gmail.com>2020-07-19 20:46:30 +0200
commit520742c77fc3d52301c54b7d678948f9c7c69ac6 (patch)
tree7f3cd45cd344d929e2a138af5bc3b47066e6de43 /suite.py
parent3a2214f5f6bf3d33166a57912c9a8d18fef808c7 (diff)
downloadminishell_test-520742c77fc3d52301c54b7d678948f9c7c69ac6.tar.gz
minishell_test-520742c77fc3d52301c54b7d678948f9c7c69ac6.tar.bz2
minishell_test-520742c77fc3d52301c54b7d678948f9c7c69ac6.zip
Added permission tests on cmd_path, cd builtin and glob
Diffstat (limited to 'suite.py')
-rw-r--r--suite.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/suite.py b/suite.py
index fefd4e2..6b04dc5 100644
--- a/suite.py
+++ b/suite.py
@@ -6,7 +6,7 @@
# By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/07/15 18:24:29 by charles #+# #+# #
-# Updated: 2020/07/15 18:24:29 by charles ### ########.fr #
+# Updated: 2020/07/19 15:29:36 by charles ### ########.fr #
# #
# ############################################################################ #
@@ -99,8 +99,8 @@ def suite(origin):
name = origin.__name__[len("suite_"):]
s = Suite(name)
def test_generator():
- def test(cmd: str, setup: str = "", files: [str] = [], exports: {str, str} = {}):
- s.add(Test(cmd, setup, files, exports))
+ def test(*args, **kwargs):
+ s.add(Test(*args, **kwargs))
origin(test)
s.add_generator(test_generator)
Suite.available.append(s)