Extract ocloud integration test 62/6962/6
authorBin Yang <bin.yang@windriver.com>
Thu, 28 Oct 2021 14:21:42 +0000 (22:21 +0800)
committerBin Yang <bin.yang@windriver.com>
Fri, 29 Oct 2021 01:50:55 +0000 (01:50 +0000)
Issue-ID: INF-196
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: I8f62bb344e407a9b13d9d3fb37729b28ff807fc6

README.md
tests/integration-ocloud/__init__.py [new file with mode: 0644]
tests/integration-ocloud/test_clientdriver_stx_sa.py [moved from tests/integration/test_clientdriver_stx_sa.py with 100% similarity]

index ea2bdb4..edd927e 100644 (file)
--- a/README.md
+++ b/README.md
@@ -7,7 +7,6 @@ docker-compose build
 \r
 ## Running the tests\r
 \r
-Prerequisite: in case of testing against real ocloud, download openrc file from ocloud dashboard, e.g. admin_openrc.sh\r
 \r
 ```sh\r
 source ./admin_openrc.sh\r
@@ -16,6 +15,15 @@ export |grep OS_USERNAME
 export |grep OS_PASSWORD\r
 docker-compose up -d\r
 docker-compose run --rm --no-deps --entrypoint=pytest api /tests/unit /tests/integration\r
+```\r
+\r
+## Running the tests with a O-Cloud\r
+\r
+Prerequisite: in case of testing against real ocloud, download openrc file from ocloud dashboard, e.g. \r
+\r
+```sh\r
+admin_openrc.sh\r
+docker-compose run --rm --no-deps --entrypoint=pytest api /tests/unit /tests/integration-ocloud\r
 \r
 ```\r
 \r
diff --git a/tests/integration-ocloud/__init__.py b/tests/integration-ocloud/__init__.py
new file mode 100644 (file)
index 0000000..b514342
--- /dev/null
@@ -0,0 +1,13 @@
+# Copyright (C) 2021 Wind River Systems, Inc.\r
+#\r
+#  Licensed under the Apache License, Version 2.0 (the "License");\r
+#  you may not use this file except in compliance with the License.\r
+#  You may obtain a copy of the License at\r
+#\r
+#      http://www.apache.org/licenses/LICENSE-2.0\r
+#\r
+#  Unless required by applicable law or agreed to in writing, software\r
+#  distributed under the License is distributed on an "AS IS" BASIS,\r
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+#  See the License for the specific language governing permissions and\r
+#  limitations under the License.\r