Skip to content
Snippets Groups Projects
Commit 7f900d85 authored by Gerard Funosas's avatar Gerard Funosas
Browse files

Improve readme

parent 5a649527
No related branches found
No related tags found
1 merge request!38Add contract model
......@@ -27,7 +27,7 @@ You need define the Odoo API-KEY and URL as environment variables. You need defi
```
ODOO_BASEURL=<YOUR ODOO HOST>/api
ODOO_APIKEY=<YOUR OC USER>
ODOO_APIKEY=<YOUR ODOO API KEY>
```
If this envvars are not defined, a exception will be raised with the name of the envvar not defined.
......@@ -73,7 +73,7 @@ More info about the API-KEY in [Auth API Key](https://github.com/OCA/server-auth
### Create new mapper
Create a class that expose a dict objecti with the next structure:
Create a class that exposes a dict object with the next structure:
#### Create a SubscriptionRequest
......@@ -191,9 +191,9 @@ With VRC we can catch the HTTP responses and then, execute the tests using them.
To add a new test:
* Exepose the needes envvars. Looks the Configuration Environment section
* Expose the needed envvars. Look for them at the [Configuration Environment section](#configuration-environment)
* Execute the tests using `pytest` command:
* If you are writing a new tests that is making requests, you should run:
* If you are writing a new test that is making requests, you should run:
```
$ pytest --record-mode=once path/to/your/test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment