]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/selftest/case: Migrate case class to the new OEQA framework
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Thu, 25 May 2017 17:23:42 +0000 (12:23 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Jun 2017 16:59:40 +0000 (17:59 +0100)
commitc38cab77893f9d8fd505f050cc880a15677b73db
tree54bf10ad81c110fdc710b9f0350972659a2001de
parent0d3d97414c8166d09065f6f7f45e3260ce405692
oeqa/selftest/case: Migrate case class to the new OEQA framework

Summary of the changes:

- Use OETestCase as base class instead of unittest.TestCase
- Remove LogResults decorator the new framework provides logging into
  the core functionality.
- Logger is now self.logger instead of self.log
- Move comments into docstrings in several help methods
- Use get_test_layer() method instead of access monkey patched variable
  in old oeSelfTest case class.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
meta/lib/oeqa/selftest/case.py