From 46ba2708f83bf46186c33bf84975d39e87f467c1 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 11 Sep 2020 12:33:34 +0200 Subject: Refactoring files, splited test.py and suite.py in packages --- src/suites/__init__.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/suites/__init__.py (limited to 'src/suites/__init__.py') diff --git a/src/suites/__init__.py b/src/suites/__init__.py new file mode 100644 index 0000000..68bad1f --- /dev/null +++ b/src/suites/__init__.py @@ -0,0 +1,19 @@ +# ############################################################################ # +# # +# ::: :::::::: # +# __init__.py :+: :+: :+: # +# +:+ +:+ +:+ # +# By: charles +#+ +:+ +#+ # +# +#+#+#+#+#+ +#+ # +# Created: 2020/07/15 18:24:48 by charles #+# #+# # +# Updated: 2020/09/09 15:20:22 by charles ### ########.fr # +# # +# ############################################################################ # + +import os +import glob + +modules = glob.glob(os.path.join(os.path.dirname(__file__), "*.py")) +__all__ = [os.path.basename(f)[:-3] for f in modules if os.path.isfile(f) and not f.endswith("__init__.py")] + +# print(__all__) -- cgit