diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-07-19 16:06:33 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-07-19 20:46:30 +0200 |
| commit | 520742c77fc3d52301c54b7d678948f9c7c69ac6 (patch) | |
| tree | 7f3cd45cd344d929e2a138af5bc3b47066e6de43 /suite.py | |
| parent | 3a2214f5f6bf3d33166a57912c9a8d18fef808c7 (diff) | |
| download | minishell_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.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |
