diff options
Diffstat (limited to 'import-layers/yocto-poky/meta/lib/oeqa/core/tests/cases/timeout.py')
-rw-r--r-- | import-layers/yocto-poky/meta/lib/oeqa/core/tests/cases/timeout.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/import-layers/yocto-poky/meta/lib/oeqa/core/tests/cases/timeout.py b/import-layers/yocto-poky/meta/lib/oeqa/core/tests/cases/timeout.py deleted file mode 100644 index 870c3157f..000000000 --- a/import-layers/yocto-poky/meta/lib/oeqa/core/tests/cases/timeout.py +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (C) 2016 Intel Corporation -# Released under the MIT license (see COPYING.MIT) - -from time import sleep - -from oeqa.core.case import OETestCase -from oeqa.core.decorator.oetimeout import OETimeout - -class TimeoutTest(OETestCase): - - @OETimeout(1) - def testTimeoutPass(self): - self.assertTrue(True, msg='How is this possible?') - - @OETimeout(1) - def testTimeoutFail(self): - sleep(2) - self.assertTrue(True, msg='How is this possible?') |