Revision 25b0544f067d377c53c018a6c5e568a6815924df authored by Stefano Zacchiroli on 30 September 2015, 09:56:25 UTC, committed by Stefano Zacchiroli on 30 September 2015, 10:33:00 UTC
Overall, we can use LANGUAGE sql only in 6 cases (vs 17 functions that
remains plpgsql). This is in large part due to the fact that LANGUAGE
sql stored procedures cannot non-existent tables, and most notably
temporary tables.

Closes T55.
1 parent cd507ba
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