summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/core/tests/test_decorators.py
diff options
context:
space:
mode:
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