From: Leonardo Sandoval Date: Fri, 26 May 2017 20:37:52 +0000 (-0500) Subject: oeqa/core/context: Omit docstring output on XMLResult X-Git-Tag: uninative-1.7~697 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=05b16219698fbd30ec76697e1b3be6d31e8f8878;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/core/context.py b/meta/lib/oeqa/core/context.py index 20d82360e6..6667f46f1e 100644 --- a/meta/lib/oeqa/core/context.py +++ b/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)