Patchwork oeqa/utils/decorators.py: add import os

login
register
mail settings
Submitter Corneliu Stoicescu
Date July 30, 2014, 4:47 p.m.
Message ID <1406738859-31852-1-git-send-email-corneliux.stoicescu@intel.com>
Download mbox | patch
Permalink /patch/76941/
State Accepted
Commit c02d6b4c8d747a637c3c328e6dc25ed339dcbe04
Headers show

Comments

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

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