Parcourir la source

gunittest: call the right method in multi reporter (was breaking test_geometry test in pygrass)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@61413 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras il y a 10 ans
Parent
commit
c027927a0a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lib/python/gunittest/runner.py

+ 1 - 1
lib/python/gunittest/runner.py

@@ -366,7 +366,7 @@ class MultiTestResult(TestResult):
         super(MultiTestResult, self).addSkip(test, reason)
         super(MultiTestResult, self).addSkip(test, reason)
         for result in self._results:
         for result in self._results:
             try:
             try:
-                result.addSuccess(test, reason)
+                result.addSkip(test, reason)
             except AttributeError:
             except AttributeError:
                 if self._forgiving:
                 if self._forgiving:
                     pass
                     pass