Skip to content

Commit

Permalink
Use postgres in tests (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii authored Sep 5, 2024
1 parent 22f7452 commit 840104b
Show file tree
Hide file tree
Showing 4 changed files with 1,106 additions and 899 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ python labs_api/main.py

## Tests

Tests are using [pytest-postgresql](https://pypi.org/project/pytest-postgresql/) for Postgres database. If you get `pg_config executable not found error` follow [this](https://bobcares.com/blog/error-pg_config-executable-not-found/) tutorial.

```bash
pytest tests/
```
Expand Down
Loading

0 comments on commit 840104b

Please sign in to comment.