Show
Ignore:
Timestamp:
07/05/07 15:23:03 (17 months ago)
Author:
Tarek Ziad?? <tarek@…>
Message:

finalized v1

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • mailer/tests/test_docs.py

    r134 r136  
    5555if current_dir == '': 
    5656    current_dir = '.' 
     57current_dir = os.path.realpath(current_dir) 
    5758 
    5859def test_suite(): 
    5960    globs = globals() 
    6061    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 
    6266    return doc_suite(current_dir, globs=globs) 
    6367