aboutsummaryrefslogtreecommitdiff
path: root/src/suite
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-09-11 16:43:50 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-09-11 16:43:50 +0200
commit39ac257ac326ade708ac54a61957506249ea18e1 (patch)
tree275b887e34460b9fb8973533bce606f0dd8b10df /src/suite
parent2c9716311a28d126b97770ecf094291005f60a52 (diff)
downloadminishell_test-39ac257ac326ade708ac54a61957506249ea18e1.tar.gz
minishell_test-39ac257ac326ade708ac54a61957506249ea18e1.tar.bz2
minishell_test-39ac257ac326ade708ac54a61957506249ea18e1.zip
Added suite prefixed with group
Diffstat (limited to 'src/suite')
-rw-r--r--src/suite/decorator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/suite/decorator.py b/src/suite/decorator.py
index 4f1aaa9..e825839 100644
--- a/src/suite/decorator.py
+++ b/src/suite/decorator.py
@@ -6,7 +6,7 @@
# By: charles <me@cacharle.xyz> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/09/11 12:28:00 by charles #+# #+# #
-# Updated: 2020/09/11 14:13:34 by charles ### ########.fr #
+# Updated: 2020/09/11 16:43:00 by charles ### ########.fr #
# #
# ############################################################################ #
@@ -21,7 +21,7 @@ def suite(groups: [str] = [], bonus: bool = False):
mod_name = inspect.getmodule(origin).__name__[len("suites."):]
# print(mod_name)
- name = origin.__name__[len("suite_"):]
+ name = "{}/{}".format(mod_name, origin.__name__[len("suite_"):])
s = Suite(name, groups + [mod_name], bonus)
def test_generator():
def test(*args, **kwargs):