diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2017-09-06 15:00:15 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-06 15:00:15 +0000 |
commit | a96d75bd8c6b7e3b69337e8e362e1114bb7afb50 (patch) | |
tree | 402fd1d7044286d5bca11b2c83f82de2d85c07ed /test/csit/tests/cli/startup | |
parent | 2b0d6dc4e015b42c1f958fda421bdbb6ddcf6657 (diff) | |
parent | 729baadbd9e163978c10a2d5a5c84258af8afd39 (diff) |
Merge "Initial integration test for CLI"
Diffstat (limited to 'test/csit/tests/cli/startup')
-rw-r--r-- | test/csit/tests/cli/startup/__init__.robot | 2 | ||||
-rw-r--r-- | test/csit/tests/cli/startup/startup_check.robot | 16 |
2 files changed, 18 insertions, 0 deletions
diff --git a/test/csit/tests/cli/startup/__init__.robot b/test/csit/tests/cli/startup/__init__.robot new file mode 100644 index 000000000..9eca6917a --- /dev/null +++ b/test/csit/tests/cli/startup/__init__.robot @@ -0,0 +1,2 @@ +*** Settings *** +Documentation cli - Startup diff --git a/test/csit/tests/cli/startup/startup_check.robot b/test/csit/tests/cli/startup/startup_check.robot new file mode 100644 index 000000000..c79da34ba --- /dev/null +++ b/test/csit/tests/cli/startup/startup_check.robot @@ -0,0 +1,16 @@ +*** Settings *** +Library RequestsLibrary + +*** Test Cases *** +Liveness Test + [Documentation] Check cli liveness check + Create Session cli http://${CLI_IP}:8080 + CheckUrl cli / + +*** Keywords *** +CheckUrl + [Arguments] ${session} ${path} + ${resp}= Get Request ${session} ${path} + Should Be Equal As Integers ${resp.status_code} 200 + + |