Преглед на файлове

gunittest: add ellipsis to test data for additional items added in https://trac.osgeo.org/grass/changeset/65224

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@65435 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras преди 10 години
родител
ревизия
ad30db074b
променени са 2 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 1 0
      lib/python/gunittest/gmodules.py
  2. 2 1
      lib/python/gunittest/testsuite/test_gmodules.py

+ 1 - 0
lib/python/gunittest/gmodules.py

@@ -60,6 +60,7 @@ def call_module(module, stdin=None,
     r"""Run module with parameters given in `kwargs` and return its output.
 
     >>> print call_module('g.region', flags='pg')  # doctest: +ELLIPSIS
+    ...
     n=...
     s=...
     w=...

+ 2 - 1
lib/python/gunittest/testsuite/test_gmodules.py

@@ -6,7 +6,8 @@ from grass.gunittest.case import TestCase
 from grass.gunittest.main import test
 from grass.gunittest.gmodules import (call_module, CalledModuleError)
 
-G_REGION_OUTPUT = """n=...
+G_REGION_OUTPUT = """...
+n=...
 s=...
 w=...
 e=...