Changeset 258
- Timestamp:
- 11/24/09 18:12:09
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sodar/branches/scintec-branch/sodar/scintec/maindata.py
r257 r258 91 91 pass 92 92 93 print mnd94 95 93 self._blocks = [self._block.strip() 96 94 for self._block in mnd.split('\n\n') … … 113 111 >>> from sodar.scintec.maindata import _test 114 112 """ 113 114 import os 115 115 import doctest 116 116 from sodar.tests import suite 117 good_mnd = suite.setUpGoodMndData() 118 doctest.testmod(extraglobs=dict(good_mnd=good_mnd)) 117 mnd_path,mnd = suite.setUpGoodMndData() 118 mnd_path,mnd_file = os.path.split(mnd_path) 119 doctest.testmod(extraglobs=dict(good_mnd=mnd, 120 good_name=mnd_file, 121 good_path=mnd_path)) 119 122 120 123 if __name__ == "__main__":