Browse Source

test root module

pull/142/head
Oliverpool 9 years ago
parent
commit
a3dc85def6
  1. 11
      test/test_compilation/test_compilation.py

11
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(

Loading…
Cancel
Save