Go to the documentation of this file.00001
00002 import sys
00003 import instant
00004 s, o = instant.get_status_output("rm -rf .test/")
00005 s, o = instant.get_status_output("python test.py")
00006 if s != 0:
00007 f = open('python_tests.log', 'w')
00008 f.write(o)
00009 f.close()
00010 sys.exit(s)