summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/core/tests/cases/oetag.py
diff options
context:
space:
mode:
authorMariano Lopez <mariano.lopez@linux.intel.com>2016-11-09 11:26:59 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-23 12:05:18 +0000
commit7bf63b28f1dee0b582769879c1727c5a1171c2b1 (patch)
tree991a4907c63df8c43199fd749546234e0c150839 /meta/lib/oeqa/core/tests/cases/oetag.py
parent4da4091cee20fd425addccd0d267a5b40f1ab8cd (diff)
downloadpoky-7bf63b28f1dee0b582769879c1727c5a1171c2b1.tar.gz
oeqa/core: Add tests for the OEQA framework
This test suite covers the current functionality for the OEQA framework. For run certain test suite, $ cd meta/lib/oeqa/core/tests $ ./test_data.py (From OE-Core rev: 7d7d0dc3736fc12ae7848de2785f0066e6470cd1) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/core/tests/cases/oetag.py')
-rw-r--r--meta/lib/oeqa/core/tests/cases/oetag.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/lib/oeqa/core/tests/cases/oetag.py b/meta/lib/oeqa/core/tests/cases/oetag.py
new file mode 100644
index 0000000000..0cae02e75c
--- /dev/null
+++ b/meta/lib/oeqa/core/tests/cases/oetag.py
@@ -0,0 +1,18 @@
1# Copyright (C) 2016 Intel Corporation
2# Released under the MIT license (see COPYING.MIT)
3
4from oeqa.core.case import OETestCase
5from oeqa.core.decorator.oetag import OETestTag
6
7class TagTest(OETestCase):
8
9 @OETestTag('goodTag')
10 def testTagGood(self):
11 self.assertTrue(True, msg='How is this possible?')
12
13 @OETestTag('otherTag')
14 def testTagOther(self):
15 self.assertTrue(True, msg='How is this possible?')
16
17 def testTagNone(self):
18 self.assertTrue(True, msg='How is this possible?')