1 # -*- coding: utf-8 -*-
3 import os,sys,subprocess,shutil
5 # Here the most beautiful part of test :)
8 if not os.path.exists(dirALaCon0):
10 if not os.path.exists(os.path.join(dirALaCon0,dirAlaCon1)):
12 os.symlink(os.path.join("..",dirAlaCon1),dirAlaCon1)
15 dn=os.path.dirname(__file__)
16 p=subprocess.Popen(["python","PMMLBasicsTest.py"],cwd=dn,stdout=subprocess.PIPE,stderr=subprocess.PIPE)
19 # Clean up the wonderful first part stuf
20 shutil.rmtree(dirALaCon0)