summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2016-10-18 15:25:35 -0700
committerDylan Baker <dylan@pnwbakers.com>2016-11-10 10:51:50 -0800
commit45a137cd035cc5f9d3de2354dacb2d3d2d2d4a09 (patch)
tree087d3ce6fa52011dc3d925d4edec558bd03fc7c0 /framework
parent79baff4e6aba5eb5323e2485a5dcab3483c8733a (diff)
framework/test/base: Remove timeout parameter
This doesn't work and never has, setting it would cause an exception, and I'm not exactly sure how to fix it. It's also unused, so we can bring it back later if we need it. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/test/base.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/framework/test/base.py b/framework/test/base.py
index 6b7cab658..4e7c8b25e 100644
--- a/framework/test/base.py
+++ b/framework/test/base.py
@@ -175,7 +175,7 @@ class Test(object):
__slots__ = ['run_concurrent', 'env', 'result', 'cwd', '_command']
timeout = None
- def __init__(self, command, run_concurrent=False, timeout=None):
+ def __init__(self, command, run_concurrent=False):
assert isinstance(command, list), command
self.run_concurrent = run_concurrent
@@ -183,9 +183,6 @@ class Test(object):
self.env = {}
self.result = TestResult()
self.cwd = None
- if timeout is not None:
- assert isinstance(timeout, int)
- self.timeout = timeout
def execute(self, path, log, options):
""" Run a test