Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9344134
README.db_testing
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
715 B
Subscribers
None
README.db_testing
View Options
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"
- run `make -C sql/ dumpdb` from the top-level dir of this module to ensure you
have the local dump that is loaded for testing purposes
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 4, 2:08 PM (7 h, 2 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3285603
Attached To
rDSTOC swh-storage-cassandra
Event Timeline
Log In to Comment