Skip to content

Commit

Permalink
docs(Django): Update contributing.md. ref #431
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Sep 11, 2024
1 parent 211beb2 commit c2bfb1d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Contributing to Open-Prices
# Contributing to Open Prices

## How to install on your local machine

Expand All @@ -16,9 +16,10 @@ Now `pre-commit` will run automatically on `git commit` :)

## Write and run tests

You should create unit tests for each new feature or API change (see [test_api.py](https://github.com/openfoodfacts/open-prices/blob/main/tests/test_api.py)).
You should create basic tests for each new feature or API change.

To run tests, just launch:
```bash
pytest
To run tests locally, just launch:

```
poetry run python manage.py test
```

0 comments on commit c2bfb1d

Please sign in to comment.