mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
oeqa/selftest: remove unused imports
(From OE-Core rev: 7ef7b03eeefc0a9911fd62c73e346fa5aeeb09eb) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f4205dcf3d
commit
668753b8ed
@@ -6,7 +6,7 @@ import os
|
||||
import shutil
|
||||
|
||||
import oeqa.utils.ftools as ftools
|
||||
from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_test_layer
|
||||
from oeqa.utils.commands import runCmd, bitbake, get_bb_var
|
||||
from oeqa.selftest.cases.sstate import SStateBase
|
||||
|
||||
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
import os
|
||||
import sys
|
||||
import re
|
||||
import logging
|
||||
from oeqa.core.decorator import OETestTag
|
||||
from oeqa.core.case import OEPTestResultTestCase
|
||||
from oeqa.selftest.case import OESelftestTestCase
|
||||
from oeqa.utils.commands import bitbake, get_bb_var, get_bb_vars
|
||||
from oeqa.utils.commands import bitbake, get_bb_vars
|
||||
|
||||
def parse_values(content):
|
||||
for i in content:
|
||||
|
||||
@@ -9,7 +9,7 @@ import shutil
|
||||
import tempfile
|
||||
from oeqa.selftest.case import OESelftestTestCase
|
||||
from oeqa.selftest.cases.buildhistory import BuildhistoryBase
|
||||
from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars
|
||||
from oeqa.utils.commands import bitbake, get_bb_var, get_bb_vars
|
||||
import oeqa.utils.ftools as ftools
|
||||
|
||||
class ImageOptionsTests(OESelftestTestCase):
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
#
|
||||
|
||||
from oeqa.selftest.case import OESelftestTestCase
|
||||
from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars
|
||||
from oeqa.utils.decorators import testcase
|
||||
from oeqa.utils.ftools import write_file
|
||||
|
||||
import oe.recipeutils
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import os
|
||||
import glob
|
||||
import time
|
||||
from oeqa.selftest.case import OESelftestTestCase
|
||||
from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars
|
||||
from oeqa.utils.commands import runCmd, bitbake, get_bb_vars
|
||||
|
||||
class oeSDKExtSelfTest(OESelftestTestCase):
|
||||
"""
|
||||
|
||||
@@ -3,9 +3,8 @@
|
||||
#
|
||||
|
||||
from oeqa.selftest.case import OESelftestTestCase
|
||||
from oeqa.utils.commands import runCmd, bitbake, get_bb_var, runqemu
|
||||
from oeqa.utils.commands import runCmd, bitbake, get_bb_var
|
||||
import os
|
||||
import json
|
||||
import re
|
||||
|
||||
class FitImageTests(OESelftestTestCase):
|
||||
|
||||
@@ -3,7 +3,7 @@ import os
|
||||
from oeqa.core.decorator import OETestTag
|
||||
from oeqa.core.case import OEPTestResultTestCase
|
||||
from oeqa.selftest.case import OESelftestTestCase
|
||||
from oeqa.utils.commands import bitbake, get_bb_var, get_bb_vars, runqemu, Command
|
||||
from oeqa.utils.commands import bitbake, get_bb_var, get_bb_vars, runqemu
|
||||
|
||||
def parse_values(content):
|
||||
for i in content:
|
||||
|
||||
@@ -4,7 +4,7 @@ import contextlib
|
||||
from oeqa.core.decorator import OETestTag
|
||||
from oeqa.core.case import OEPTestResultTestCase
|
||||
from oeqa.selftest.case import OESelftestTestCase
|
||||
from oeqa.utils.commands import bitbake, get_bb_var, get_bb_vars, runqemu, Command
|
||||
from oeqa.utils.commands import bitbake, get_bb_var, runqemu
|
||||
from oeqa.utils.nfs import unfs_server
|
||||
|
||||
def parse_values(content):
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import os
|
||||
|
||||
from oeqa.selftest.case import OESelftestTestCase
|
||||
from oeqa.utils.commands import runCmd, bitbake, get_bb_var
|
||||
from oeqa.utils.commands import bitbake, get_bb_var
|
||||
import oeqa.utils.ftools as ftools
|
||||
|
||||
class LayerAppendTests(OESelftestTestCase):
|
||||
|
||||
@@ -7,7 +7,6 @@ import tempfile
|
||||
|
||||
from oeqa.selftest.case import OESelftestTestCase
|
||||
from oeqa.utils.commands import bitbake
|
||||
from oeqa.utils import CommandError
|
||||
|
||||
class LicenseTests(OESelftestTestCase):
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import os
|
||||
|
||||
from oeqa.selftest.case import OESelftestTestCase
|
||||
from oeqa.utils.commands import get_bb_var, get_bb_vars, bitbake
|
||||
from oeqa.utils.commands import get_bb_var, bitbake
|
||||
|
||||
class ManifestEntry:
|
||||
'''A manifest item of a collection able to list missing packages'''
|
||||
|
||||
@@ -8,7 +8,7 @@ import importlib
|
||||
import unittest
|
||||
from oeqa.selftest.case import OESelftestTestCase
|
||||
from oeqa.selftest.cases.buildhistory import BuildhistoryBase
|
||||
from oeqa.utils.commands import Command, runCmd, bitbake, get_bb_var, get_test_layer
|
||||
from oeqa.utils.commands import runCmd, bitbake, get_bb_var
|
||||
from oeqa.utils import CommandError
|
||||
|
||||
class BuildhistoryDiffTests(BuildhistoryBase):
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
from oeqa.selftest.case import OESelftestTestCase
|
||||
from oeqa.utils.commands import bitbake, get_bb_vars, get_bb_var, runqemu
|
||||
import stat
|
||||
import subprocess, os
|
||||
import oe.path
|
||||
import re
|
||||
|
||||
@@ -2,14 +2,10 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
import os
|
||||
import re
|
||||
import time
|
||||
import logging
|
||||
import bb.tinfoil
|
||||
|
||||
from oeqa.selftest.case import OESelftestTestCase
|
||||
from oeqa.utils.commands import runCmd, get_test_layer
|
||||
from oeqa.utils.commands import get_test_layer
|
||||
|
||||
|
||||
def setUpModule():
|
||||
|
||||
@@ -9,8 +9,6 @@ import bb.utils
|
||||
import functools
|
||||
import multiprocessing
|
||||
import textwrap
|
||||
import json
|
||||
import unittest
|
||||
import tempfile
|
||||
import shutil
|
||||
import stat
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#
|
||||
|
||||
import importlib
|
||||
from oeqa.utils.commands import runCmd
|
||||
import oeqa.selftest
|
||||
from oeqa.selftest.case import OESelftestTestCase
|
||||
|
||||
|
||||
@@ -3,14 +3,11 @@
|
||||
#
|
||||
|
||||
import datetime
|
||||
import unittest
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
|
||||
import oeqa.utils.ftools as ftools
|
||||
from oeqa.selftest.case import OESelftestTestCase
|
||||
from oeqa.utils.commands import runCmd, bitbake, get_bb_vars, get_test_layer
|
||||
from oeqa.utils.commands import get_bb_vars
|
||||
|
||||
|
||||
class SStateBase(OESelftestTestCase):
|
||||
|
||||
@@ -8,8 +8,7 @@ import glob
|
||||
import subprocess
|
||||
import tempfile
|
||||
|
||||
from oeqa.selftest.case import OESelftestTestCase
|
||||
from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_test_layer, create_temp_layer
|
||||
from oeqa.utils.commands import runCmd, bitbake, get_bb_var, create_temp_layer
|
||||
from oeqa.selftest.cases.sstate import SStateBase
|
||||
import oe
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import uuid
|
||||
|
||||
from oeqa.selftest.case import OESelftestTestCase
|
||||
from oeqa.utils.commands import bitbake
|
||||
from oeqa.utils.commands import bitbake
|
||||
|
||||
class SysrootTests(OESelftestTestCase):
|
||||
def test_sysroot_cleanup(self):
|
||||
|
||||
@@ -9,7 +9,6 @@ import logging
|
||||
import bb.tinfoil
|
||||
|
||||
from oeqa.selftest.case import OESelftestTestCase
|
||||
from oeqa.utils.commands import runCmd
|
||||
|
||||
class TinfoilTests(OESelftestTestCase):
|
||||
""" Basic tests for the tinfoil API """
|
||||
|
||||
Reference in New Issue
Block a user