Quellcode durchsuchen

pygrass: Fix shell doctest file

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@65951 15284696-431f-4ddb-bdfa-cd5b030d7da7
Pietro Zambelli vor 9 Jahren
Ursprung
Commit
83268d2db8
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      lib/python/pygrass/shell/testsuite/test_doctests.py

+ 3 - 3
lib/python/pygrass/shell/testsuite/test_doctests.py

@@ -9,7 +9,7 @@ import grass.gunittest.case
 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 @@ def load_tests(loader, tests, ignore):
     # 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