Revision: 6790 Author: cosoleto Date: 2009-05-02 16:31:27 +0000 (Sat, 02 May 2009)
Log Message: ----------- Added a module that permits to avoid duplicated code in regression test files.
Added Paths: ----------- trunk/pywikipedia/tests/test_utils.py
Added: trunk/pywikipedia/tests/test_utils.py =================================================================== --- trunk/pywikipedia/tests/test_utils.py (rev 0) +++ trunk/pywikipedia/tests/test_utils.py 2009-05-02 16:31:27 UTC (rev 6790) @@ -0,0 +1,11 @@ +""" +Support module for PyWikipediaBot regression tests. +""" + +import sys + +# Add current directory and parent directory to module search path. +sys.path.insert(0, '..') +sys.path.insert(0, '.') + +del sys
pywikipedia-svn@lists.wikimedia.org