[GRASS-SVN] r65951 - grass/trunk/lib/python/pygrass/shell/testsuite
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 17 22:20:21 PDT 2015
Author: zarch
Date: 2015-08-17 22:20:21 -0700 (Mon, 17 Aug 2015)
New Revision: 65951
Modified:
grass/trunk/lib/python/pygrass/shell/testsuite/test_doctests.py
Log:
pygrass: Fix shell doctest file
Modified: grass/trunk/lib/python/pygrass/shell/testsuite/test_doctests.py
===================================================================
--- grass/trunk/lib/python/pygrass/shell/testsuite/test_doctests.py 2015-08-18 05:19:07 UTC (rev 65950)
+++ grass/trunk/lib/python/pygrass/shell/testsuite/test_doctests.py 2015-08-18 05:20:21 UTC (rev 65951)
@@ -9,7 +9,7 @@
import grass.gunittest.main
import grass.gunittest.utils
-import grass.pygrass.shell as gshell
+from grass.pygrass.shell import conversion, show
# doctest does not allow changing the base classes of test case, skip test case
@@ -31,8 +31,8 @@
# for now it is the only place where it works
grass.gunittest.utils.do_doctest_gettext_workaround()
# this should be called at some top level
- tests.addTests(doctest.DocTestSuite(gshell.conversion))
- tests.addTests(doctest.DocTestSuite(gshell.show))
+ tests.addTests(doctest.DocTestSuite(conversion))
+ tests.addTests(doctest.DocTestSuite(show))
return tests
More information about the grass-commit
mailing list