Extract ocloud integration test
[pti/o2.git] / README.md
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