Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
odoo-somconnexio-python-client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coopdevs
Som Connexió
Odoo
odoo-somconnexio-python-client
Commits
7f900d85
Commit
7f900d85
authored
2 years ago
by
Gerard Funosas
Browse files
Options
Downloads
Patches
Plain Diff
Improve readme
parent
5a649527
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!38
Add contract model
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+4
-4
4 additions, 4 deletions
README.md
with
4 additions
and
4 deletions
README.md
+
4
−
4
View file @
7f900d85
...
...
@@ -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 O
C USER
>
ODOO_APIKEY=<YOUR O
DOO 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 object
i
with the next structure:
Create a class that expose
s
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:
*
Ex
e
pose the neede
s
envvars. Look
s
the Configuration Environment section
*
Expose the neede
d
envvars. Look
for them at
the
[
Configuration Environment section
](
#configuration-environment
)
*
Execute the tests using
`pytest`
command:
*
If you are writing a new test
s
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment