aboutsummaryrefslogtreecommitdiffstats
path: root/cli/commands/cli_testcase.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-05-03 09:56:22 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-05-03 09:56:22 +0000
commit7ad2ce42a2bc2c8dc17fbc9423da71a95fed4d87 (patch)
tree0a320a3c0fa35098fe9e71be51b42b2d9845a2ad /cli/commands/cli_testcase.py
parentfa36ceb257c34874fa9169ee5757ec16c8207df6 (diff)
parent78680224ed5d400c9ab0d1a92c01d457f5686ea8 (diff)
Merge "Create CLI template for Functest"
Diffstat (limited to 'cli/commands/cli_testcase.py')
-rw-r--r--cli/commands/cli_testcase.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/cli/commands/cli_testcase.py b/cli/commands/cli_testcase.py
new file mode 100644
index 000000000..71bfeddcf
--- /dev/null
+++ b/cli/commands/cli_testcase.py
@@ -0,0 +1,24 @@
+#!/usr/bin/env python
+#
+# jose.lausuch@ericsson.com
+# 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
+#
+
+import click
+
+
+class CliTestcase:
+ def __init__(self):
+ pass
+
+ def list(self):
+ click.echo("testcase list")
+
+ def show(self, testname):
+ click.echo("testcase show %s" % testname)
+
+ def run(self, testname):
+ click.echo("testcase run %s" % testname)