1# 2# Copyright (C) 2016 Intel Corporation 3# 4# SPDX-License-Identifier: MIT 5# 6 7from oeqa.core.case import OETestCase 8from oeqa.core.decorator import OETestTag 9 10class TagTest(OETestCase): 11 @OETestTag('goodTag') 12 def testTagGood(self): 13 self.assertTrue(True, msg='How is this possible?') 14 15 @OETestTag('otherTag') 16 def testTagOther(self): 17 self.assertTrue(True, msg='How is this possible?') 18 19 @OETestTag('otherTag', 'multiTag') 20 def testTagOtherMulti(self): 21 self.assertTrue(True, msg='How is this possible?') 22 23 def testTagNone(self): 24 self.assertTrue(True, msg='How is this possible?') 25 26@OETestTag('classTag') 27class TagClassTest(OETestCase): 28 @OETestTag('otherTag') 29 def testTagOther(self): 30 self.assertTrue(True, msg='How is this possible?') 31 32 @OETestTag('otherTag', 'multiTag') 33 def testTagOtherMulti(self): 34 self.assertTrue(True, msg='How is this possible?') 35 36 def testTagNone(self): 37 self.assertTrue(True, msg='How is this possible?') 38 39