Running tests
You can test your installation by running the test suite.
- python runtests.py
You can test specific features or specific database drivers using theruntests.py
script. To view the available test runner options, use:
- python runtests.py --help
Note
To run tests against Postgres or MySQL you need to create a database named“peewee_test”. To test the Postgres extension module, you will also want toinstall the HStore extension in the postgres test database:
- -- install the hstore extension on the peewee_test postgres db.
- CREATE EXTENSION hstore;