CLI output testing Signed-off-by: Imesh Gunaratne <[email protected]>
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 <[email protected]> Authored: Sun Aug 16 22:51:54 2015 +0530 Committer: Imesh Gunaratne <[email protected]> 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
