--- Begin Message ---
------------------------------------------------------------
revno: 561
committer: Johannes Ring <johannr@xxxxxxxxx>
branch nick: trunk
timestamp: Wed 2012-05-23 15:22:29 +0200
message:
Use instant.get_status_output instead of commands.getstatusoutput.
modified:
tests/python/run_tests.py
--
lp:fenics-syfi
https://code.launchpad.net/~syfi-core/fenics-syfi/main
Your team SyFi Core Team is subscribed to branch lp:fenics-syfi.
To unsubscribe from this branch go to https://code.launchpad.net/~syfi-core/fenics-syfi/main/+edit-subscription
=== modified file 'tests/python/run_tests.py'
--- tests/python/run_tests.py 2012-05-23 10:47:30 +0000
+++ tests/python/run_tests.py 2012-05-23 13:22:29 +0000
@@ -1,7 +1,8 @@
#!/usr/bin/env python
-import commands, sys
-s, o = commands.getstatusoutput("rm -rf .test/")
-s, o = commands.getstatusoutput("python test.py")
+import sys
+import instant
+s, o = instant.get_status_output("rm -rf .test/")
+s, o = instant.get_status_output("python test.py")
if s != 0:
f = open('python_tests.log', 'w')
f.write(o)
--- End Message ---