diff options
author | Dylan Baker <baker.dylan.c@gmail.com> | 2015-10-08 12:16:27 -0700 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2015-10-09 12:23:37 -0700 |
commit | 6986bc53b64de1a91c2fc2b9fe9f9b5f61a683dd (patch) | |
tree | 8b72ad39414c438a21dcd84eae4033e4388ad8dc | |
parent | d387894da523fb0fd7f7c108a752fa641b4a4cb4 (diff) |
framework/tests/base_tests.py: mark timeout tests as slow
This marks the timeout tests as slow (because they are). This is nice
for excluding things.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
-rw-r--r-- | framework/tests/base_tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/tests/base_tests.py b/framework/tests/base_tests.py index e65f6739a..caef9e325 100644 --- a/framework/tests/base_tests.py +++ b/framework/tests/base_tests.py @@ -23,6 +23,7 @@ from __future__ import print_function, absolute_import import nose.tools as nt +from nose.plugins.attrib import attr import framework.tests.utils as utils from framework.test.base import ( @@ -59,6 +60,7 @@ def test_run_return_early(): test.run() +@attr('slow') def test_timeout(): """test.base.Test.run(): kills tests that exceed timeout when set""" utils.binary_check('sleep', 1) @@ -73,6 +75,7 @@ def test_timeout(): nt.eq_(test.result.result, 'timeout') +@attr('slow') def test_timeout_pass(): """test.base.Test.run(): Result is returned when timeout is set but not exceeded """ |