Changeset 136:bfdb6e432cb8 for mailer/tests/test_docs.py
- Timestamp:
- 07/05/07 15:23:03 (17 months ago)
- Files:
-
- 1 modified
-
mailer/tests/test_docs.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mailer/tests/test_docs.py
r134 r136 55 55 if current_dir == '': 56 56 current_dir = '.' 57 current_dir = os.path.realpath(current_dir) 57 58 58 59 def test_suite(): 59 60 globs = globals() 60 61 test_db = os.path.join(current_dir, 'test.db') 61 globs['test_db'] = 'sqlite://%s' % test_db 62 if os.path.exists(test_db): 63 os.remove(test_db) 64 65 globs['test_db'] = 'sqlite:////%s' % test_db 62 66 return doc_suite(current_dir, globs=globs) 63 67
