Show
Ignore:
Timestamp:
05/30/07 16:47:14 (15 months ago)
Author:
Tarek Ziad?? <tarek@…>
Message:

fixes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • atomisator/tests/test_docs.py

    r84 r102  
    4040 
    4141    doc_dir = os.path.join(product_dir, 'doc') 
     42    #docs = [os.path.join(doc_dir, doc) for doc in 
     43    #        os.listdir(doc_dir) if doc.endswith('.txt')] 
    4244    docs = [os.path.join(doc_dir, doc) for doc in 
    43             os.listdir(doc_dir) if doc.endswith('.txt')] 
     45            os.listdir(doc_dir) if doc.endswith('ME.txt')] 
    4446 
    4547    for test in docs: 
     
    5254 
    5355current_dir = os.path.dirname(__file__) 
     56rss_file = os.path.join(current_dir, 'sample.xml') 
    5457 
    5558def test_suite(): 
    56     return doc_suite(current_dir) 
     59    globs = globals() 
     60    globs['rss_file'] = rss_file 
     61 
     62    return doc_suite(current_dir, globs=globs) 
    5763 
    5864if __name__ == '__main__':