X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=README.md;fp=README.md;h=ea2bdb4faee66077ed6df89d3df6eb8d6b2d5a6d;hb=f10107e78b324fc607fe06486764588f38fc220d;hp=e4c75d9898828d8fe309af34fdea5cc17ec77316;hpb=81e3575a77366f30c2049f98c48a3087db0ea992;p=pti%2Fo2.git diff --git a/README.md b/README.md index e4c75d9..ea2bdb4 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,16 @@ docker-compose build ## Running the tests +Prerequisite: in case of testing against real ocloud, download openrc file from ocloud dashboard, e.g. admin_openrc.sh + ```sh +source ./admin_openrc.sh +export |grep OS_AUTH_URL +export |grep OS_USERNAME +export |grep OS_PASSWORD docker-compose up -d docker-compose run --rm --no-deps --entrypoint=pytest api /tests/unit /tests/integration + ``` ## Tear down containers