From a3dc85def67b23b31445425dbad6b31d886164a2 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Thu, 29 Oct 2015 21:57:35 +0100 Subject: [PATCH] test root module --- test/test_compilation/test_compilation.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/test_compilation/test_compilation.py b/test/test_compilation/test_compilation.py index 24c2a0cc..b7ec44c3 100644 --- a/test/test_compilation/test_compilation.py +++ b/test/test_compilation/test_compilation.py @@ -109,6 +109,17 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest): else: current_env = None + print("### root module") + try: + emptymod = subprocess.check_output( + [sys.executable, "-m", 'patacrep', 'test'], + stderr=subprocess.STDOUT, + cwd=os.path.dirname(songbook) + ) + print(emptymod) + except subprocess.CalledProcessError as error: + print(error.output) + print("### cwd module") try: emptymod = subprocess.check_output(