swh:1:snp:eb70f1f85391e4b077c211bec36af0061c4bf937
Raw File
Tip revision: eed11d424191c0e91f167013a3a89f68f0f7bb68 authored by Antoine R. Dumont (@ardumont) on 10 September 2018, 09:36:27 UTC
New upstream version 0.0.105
Tip revision: eed11d4
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