Changeset 10:d5329a2a05b7 in mailjam for bin
- Timestamp:
- May 20, 2012, 9:39:51 AM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bin/run_tests
r1 r10 3 3 # Run the tests for the postman package 4 4 5 import os, s ys, unittest5 import os, shutil, sys, unittest 6 6 7 7 try: … … 13 13 except ImportError: 14 14 raise SystemExit('Could not find postman on your filesystem') 15 16 unittest.main() 15 16 try: 17 unittest.main() 18 finally: 19 # FIXME: hardcoded path to the tmp directory, we should read this path 20 # from postman/tests/postman.conf 21 shutil.rmtree('/tmp/postman-tests')
Note:
See TracChangeset
for help on using the changeset viewer.