summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/core/tests/test_decorators.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-08 16:56:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-09 16:31:55 +0100
commitc7592b01478def091b6787412390c61e7ce0a0cd (patch)
tree3c2f26480c6e16fae0ad65b032e3dc0fccfca71b /meta/lib/oeqa/core/tests/test_decorators.py
parentc0dc72bad92e2e4dc0aedb48b969709f821baf73 (diff)
downloadpoky-c7592b01478def091b6787412390c61e7ce0a0cd.tar.gz
oeqa: Drop OETestID
These IDs refer to testopia which we're no longer using. We would now use the test names to definitively reference tests and the IDs can be dropped, along with their supporting code. (From OE-Core rev: 8e2d0575e4e7036b5f60e632f377a8ab2b96ead8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/core/tests/test_decorators.py')
-rwxr-xr-xmeta/lib/oeqa/core/tests/test_decorators.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/meta/lib/oeqa/core/tests/test_decorators.py b/meta/lib/oeqa/core/tests/test_decorators.py
index f7d11e885a..67dce773bd 100755
--- a/meta/lib/oeqa/core/tests/test_decorators.py
+++ b/meta/lib/oeqa/core/tests/test_decorators.py
@@ -42,29 +42,6 @@ class TestFilterDecorator(TestBase):
42 for test in tests: 42 for test in tests:
43 self._runFilterTest(['oetag'], test[0], test[1], test[2]) 43 self._runFilterTest(['oetag'], test[0], test[1], test[2])
44 44
45 def test_oeid(self):
46 # Get all cases without filtering.
47 filter_all = {}
48 test_all = {'testIdGood', 'testIdOther', 'testIdNone'}
49 msg_all = 'Failed to get all oeid cases without filtering.'
50
51 # Get cases with '101' oeid.
52 filter_good = {'oeid': 101}
53 test_good = {'testIdGood'}
54 msg_good = 'Failed to get just one tes filtering with "101" oeid.'
55
56 # Get cases with an invalid id.
57 filter_invalid = {'oeid':999}
58 test_invalid = set()
59 msg_invalid = 'Failed to filter all test using an invalid oeid.'
60
61 tests = ((filter_all, test_all, msg_all),
62 (filter_good, test_good, msg_good),
63 (filter_invalid, test_invalid, msg_invalid))
64
65 for test in tests:
66 self._runFilterTest(['oeid'], test[0], test[1], test[2])
67
68class TestDependsDecorator(TestBase): 45class TestDependsDecorator(TestBase):
69 modules = ['depends'] 46 modules = ['depends']
70 47