From 1ff65ed841b3f848ebf44ea8e3bd608220150ebf Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Wed, 7 Dec 2016 16:25:18 +0800 Subject: Fix bugs in `runner/benchmark` - should inherit `object` for common methods - should use instance class in abstract method Change-Id: I78c08476da544402851e4b53e2d45c32a7f86722 Signed-off-by: Yujun Zhang --- tests/unit/runner/perftest_test.py | 1 + tests/unit/runner/suite_test.py | 1 + tests/unit/runner/testplan_test.py | 1 + 3 files changed, 3 insertions(+) (limited to 'tests/unit') diff --git a/tests/unit/runner/perftest_test.py b/tests/unit/runner/perftest_test.py index b3e6e8e2..1f0b5631 100644 --- a/tests/unit/runner/perftest_test.py +++ b/tests/unit/runner/perftest_test.py @@ -39,3 +39,4 @@ class TestPerfTest: assert Property.NAME in desc assert Property.DESCRIPTION in desc assert Property.ABSPATH in desc + assert Property.ABSPATH is not None diff --git a/tests/unit/runner/suite_test.py b/tests/unit/runner/suite_test.py index 5d2f1066..10205801 100644 --- a/tests/unit/runner/suite_test.py +++ b/tests/unit/runner/suite_test.py @@ -39,3 +39,4 @@ class TestSuite: assert Property.NAME in suite_desc assert Property.DESCRIPTION in suite_desc assert Property.ABSPATH in suite_desc + assert Property.ABSPATH is not None diff --git a/tests/unit/runner/testplan_test.py b/tests/unit/runner/testplan_test.py index 2700d385..de8bf1e1 100644 --- a/tests/unit/runner/testplan_test.py +++ b/tests/unit/runner/testplan_test.py @@ -39,3 +39,4 @@ class TestTestPlan: assert Property.NAME in desc assert Property.DESCRIPTION in desc assert Property.ABSPATH in desc + assert Property.ABSPATH is not None -- cgit 1.2.3-korg