Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • coopdevs/som-connexio/odoo/odoo-somconnexio-python-client
1 result
Show changes
Commits on Source (2)
odoo-somconnexio-python-client
......@@ -163,6 +163,25 @@ Create a class that expose a dict objecti with the next structure:
## Development
### Setup environment
1. Install `pyenv`
```sh
curl https://pyenv.run | bash
```
2. Build the Python version
```sh
pyenv install 3.8.13
```
3. Create a virtualenv
```sh
pyenv virtualenv 3.8.13 odoo-somconnexio-python-client
```
4. Install dependencies
```sh
pyenv exec pip install -r requirements-dev.txt
```
### Test the HTTP request
We are using the HTTP recording plugin of Pytest: [pytest-recording](https://pytest-vcr.readthedocs.io/).
......
tox==3.25.0
requests==2.27.1
mock==4.0.3
unittest2==1.1.0
pytest==6.2.5
......