[OE-core] [PATCH] oeqa/utils/decorators.py: add import os

Corneliu Stoicescu corneliux.stoicescu at intel.com
Wed Jul 30 16:47:39 UTC 2014


An 'import os' was omitted here while testing the previous decorators using runtime tests that import the os module before this one. Unfortunately oe-selftest fails because of this missing import.

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu at intel.com>
---
 meta/lib/oeqa/utils/decorators.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/lib/oeqa/utils/decorators.py b/meta/lib/oeqa/utils/decorators.py
index 439e80a..a9e67ed 100644
--- a/meta/lib/oeqa/utils/decorators.py
+++ b/meta/lib/oeqa/utils/decorators.py
@@ -6,6 +6,7 @@
 # Most useful is skipUnlessPassed which can be used for
 # creating dependecies between two test methods.
 
+import os
 import logging
 import sys
 import unittest
-- 
1.8.3.2




More information about the Openembedded-core mailing list