Changeset 102:917b0f7d3576 for atomisator/tests/test_docs.py
- Timestamp:
- 05/30/07 16:47:14 (20 months ago)
- Files:
-
- 1 modified
-
atomisator/tests/test_docs.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
atomisator/tests/test_docs.py
r84 r102 40 40 41 41 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')] 42 44 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')] 44 46 45 47 for test in docs: … … 52 54 53 55 current_dir = os.path.dirname(__file__) 56 rss_file = os.path.join(current_dir, 'sample.xml') 54 57 55 58 def 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) 57 63 58 64 if __name__ == '__main__':
