[OE-core] [PATCH 13/20] oeqa/oetest.py: Fix missing oeqa.runtime import.
Paul Eggleton
paul.eggleton at linux.intel.com
Tue Feb 2 21:25:52 UTC 2016
On Tue, 02 Feb 2016 09:14:16 Aníbal Limón wrote:
> From: Aníbal Limón <limon.anibal at gmail.com>
>
> oeqa.runtime import is used in TestContext to get data fixtures
> directory.
>
> Signed-off-by: Aníbal Limón <limon.anibal at gmail.com>
> ---
> meta/lib/oeqa/oetest.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py
> index 28577ef..16705cc 100644
> --- a/meta/lib/oeqa/oetest.py
> +++ b/meta/lib/oeqa/oetest.py
> @@ -18,7 +18,7 @@ except ImportError:
> pass
> import logging
>
> -import oeqa
> +import oeqa.runtime
> from oeqa.utils.decorators import LogResults, gettag, getResults
>
> logger = logging.getLogger("BitBake")
Are you sure this actually does anything? Importing the parent module should
already allow access to child modules, AIUI.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-core
mailing list