aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-02-27 03:40:06 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-27 03:40:06 +0000
commit9ee8512074704671e080d34af7712fbe97e2c29b (patch)
tree46d176cee42949506ed8430968d64d08605eb41a /tests
parent78f7b4aeff2a5dc572e2878ba7445750ffb8b860 (diff)
parent8a5cb9aebdb7c763fae470fa00beecf07c81fb1d (diff)
Merge "Refactoring qtip.runner"
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/runner/runner_test.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/unit/runner/runner_test.py b/tests/unit/runner/runner_test.py
new file mode 100644
index 0000000..b7da161
--- /dev/null
+++ b/tests/unit/runner/runner_test.py
@@ -0,0 +1,16 @@
+##############################################################################
+# Copyright (c) 2016 ZTE Corp and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
+from qtip.runner.base import BaseRunner
+
+
+def test_constructor():
+ runner = BaseRunner()
+ assert isinstance(runner, BaseRunner)