My little database for storing electronics components.
The requirements for the testing environment are listed in
tests/requirements.txt
. You can also see the travis configuration for a
minimal working example. The requirements can be installed via:
$ pip install -r test/requirements.txt
In addition, a PostgreSQL database must be available. By default the test suite
uses the "componentsdb_testing" database but you can override this via the
TEST_DATABASE_URI
environment variable:
$ TEST_DATABASE_URI=postgres:///other_db tox