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

oeqa/core/context: Omit docstring output on XMLResult

By default, the xml runner class prints out the docstring for every
unit test but it order to keep the same format as the standard
runner, avoid docstring output setting descriptions to False.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Leonardo Sandoval преди 7 години
родител
ревизия
05b1621969
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      meta/lib/oeqa/core/context.py

+ 1 - 1
meta/lib/oeqa/core/context.py

@@ -51,7 +51,7 @@ class OETestContext(object):
         self.suites = self.loader.discover()
 
     def runTests(self):
-        self.runner = self.runnerClass(self, verbosity=2)
+        self.runner = self.runnerClass(self, descriptions=False, verbosity=2)
 
         self._run_start_time = time.time()
         result = self.runner.run(self.suites)