You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2015/10/13 13:07:05 UTC

[42/50] stratos git commit: CLI output testing

CLI output testing

Signed-off-by: Imesh Gunaratne <im...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/fc7c3c1b
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/fc7c3c1b
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/fc7c3c1b

Branch: refs/heads/stratos-4.1.x
Commit: fc7c3c1bb60de55907a4a063fc69034f460bdb53
Parents: 5c5d76b
Author: Milindu Sanoj Kumarage <ag...@gmail.com>
Authored: Sun Aug 16 22:51:54 2015 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Tue Oct 13 16:32:49 2015 +0530

----------------------------------------------------------------------
 .../src/main/python/tests/CLITest.py                     | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/fc7c3c1b/components/org.apache.stratos.python.cli/src/main/python/tests/CLITest.py
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.python.cli/src/main/python/tests/CLITest.py b/components/org.apache.stratos.python.cli/src/main/python/tests/CLITest.py
new file mode 100644
index 0000000..b0ad3cc
--- /dev/null
+++ b/components/org.apache.stratos.python.cli/src/main/python/tests/CLITest.py
@@ -0,0 +1,11 @@
+from scripttest import TestFileEnvironment
+
+env = TestFileEnvironment('./scratch')
+
+
+def test_list_users():
+    env.clear()
+    result = env.run('stratos-cli list-users')
+    assert result.stdout.startswith("")
+
+test_list_users()
\ No newline at end of file