]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/selftest/package: Use setUpLocal, not setUp
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Jul 2018 16:22:29 +0000 (16:22 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 15 Jul 2018 15:34:12 +0000 (16:34 +0100)
The main setUp function needs to be called and tests are meant to
define setUpLocal. For some reason this one didn't leading to errors
with recent code changes. Fix it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/package.py

index 169698f780d8b3930da39f111cbcbdeb20a4b814..ef6eabef66580037b2e15019781fb51e6fed197e 100644 (file)
@@ -29,7 +29,7 @@ class VersionOrdering(OESelftestTestCase):
         cls.bindir = oe.path.join(cls.staging, vars["bindir_native"])
         cls.libdir = oe.path.join(cls.staging, vars["libdir_native"])
 
-    def setUp(self):
+    def setUpLocal(self):
         # Just for convenience
         self.staging = type(self).staging
         self.bindir = type(self).bindir