depends.py 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #
  2. # Copyright (C) 2016 Intel Corporation
  3. #
  4. # SPDX-License-Identifier: MIT
  5. #
  6. from oeqa.core.case import OETestCase
  7. from oeqa.core.decorator.depends import OETestDepends
  8. class DependsTest(OETestCase):
  9. def testDependsFirst(self):
  10. self.assertTrue(True, msg='How is this possible?')
  11. @OETestDepends(['testDependsFirst'])
  12. def testDependsSecond(self):
  13. self.assertTrue(True, msg='How is this possible?')
  14. @OETestDepends(['testDependsSecond'])
  15. def testDependsThird(self):
  16. self.assertTrue(True, msg='How is this possible?')
  17. @OETestDepends(['testDependsSecond'])
  18. def testDependsFourth(self):
  19. self.assertTrue(True, msg='How is this possible?')
  20. @OETestDepends(['testDependsThird', 'testDependsFourth'])
  21. def testDependsFifth(self):
  22. self.assertTrue(True, msg='How is this possible?')
  23. @OETestDepends(['testDependsCircular3'])
  24. def testDependsCircular1(self):
  25. self.assertTrue(True, msg='How is this possible?')
  26. @OETestDepends(['testDependsCircular1'])
  27. def testDependsCircular2(self):
  28. self.assertTrue(True, msg='How is this possible?')
  29. @OETestDepends(['testDependsCircular2'])
  30. def testDependsCircular3(self):
  31. self.assertTrue(True, msg='How is this possible?')