Add polling worker for watcher to probe
[pti/o2.git] / README.md
index e4c75d9..fdc1d39 100644 (file)
--- a/README.md
+++ b/README.md
@@ -7,11 +7,28 @@ docker-compose build
 \r
 ## Running the tests\r
 \r
+\r
 ```sh\r
+source ./admin_openrc.sh\r
+export |grep OS_AUTH_URL\r
+export |grep OS_USERNAME\r
+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
+docker-compose run --rm --no-deps --entrypoint=pytest api /tests/integration-ocloud --log-level=DEBUG --log-file=/test\r
+s/debug.log\r
+```\r
+\r
 ## Tear down containers\r
 \r
 ```sh\r