Skip to contentSkip to conversation

oeqa/selftest/wic: Use SetupLocal instead of Setup

PATCH New Richard Purdie 1 participant 1 message Sep 30, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 oeqa/selftest/wic: Use SetupLocal instead of Setup

If we replace the code Setup method, we don't get the cleanup it performs and this just resulted in failures on the autobuilder due to a stale config fragment. Setup will call SetupLocal so this should be a safe and easy fix to resolve the autobuilder failures.

---
 meta/lib/oeqa/selftest/wic.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oeqa/selftest/wic.py +1 -1
index 9425dc0..0a35935 100644
@@ -46,7 +46,7 @@ class Wic(oeSelfTest):
                 'dosfstools-native mtools-native')
         Wic.image_is_ready = False
 
-    def setUp(self):
+    def setUpLocal(self):
         """This code is executed before each test method."""
         if not Wic.image_is_ready:
             # build core-image-minimal with required features