Revision 287da80f7c9d8d127f858cab487fe24d8e845304 authored by Quentin Campos on 02 August 2016, 10:59:18 UTC, committed by Quentin Campos on 03 August 2016, 09:00:59 UTC
Additional configuration was passed from director to the worker at
initialization. We remove it so the queued messages in celery are only
lists of sha1 with no dict to pack/unpack.
1 parent 801ff72
Raw File
README.db_testing
Running database-related tests
==============================

Python tests for this module include tests that cannot be run without a local
Postgres database. You are not obliged to run those tests though:

- `make test`:      will run all tests
- `make test-nodb`: will run only tests that do not need a local DB
- `make test-db`:   will run only tests that do need a local DB

If you do want to run DB-related tests, you should:

- ensure that your user is authorized to create and drop DBs, and in particular
  DBs named "softwareheritage-test" and "softwareheritage-dev"

- ensure that you have the storage testdata repository checked out in
  ../swh-storage-testdata
back to top