oeqa/utils/decorators.py: add import os

Submitted by Corneliu Stoicescu on July 30, 2014, 4:47 p.m. | Patch ID: 76941


Message ID 1406738859-31852-1-git-send-email-corneliux.stoicescu@intel.com
State Accepted
Commit 5381e6cf6bf7143074800b2949bfa5331fdb6d47
Headers show

Commit Message

Corneliu Stoicescu July 30, 2014, 4:47 p.m.
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@intel.com>
 meta/lib/oeqa/utils/decorators.py | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

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