diff options
Diffstat (limited to 'tests/old/__init__.py')
-rw-r--r-- | tests/old/__init__.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/old/__init__.py b/tests/old/__init__.py new file mode 100644 index 0000000..5311641 --- /dev/null +++ b/tests/old/__init__.py @@ -0,0 +1,11 @@ +import os +import unittest + +if __name__ == "__main__": + os.chdir(os.path.dirname(__file__)) + print(os.getcwd()) + + for path in os.listdir("."): + if path.endswith(".py"): + exec("from %s import *" % path[:-3]) + unittest.main() |