New run_sanity_checks mechanism, for SpatiLite

Moved VirtualSpatialIndex check into a new mechanism that should allow
us to add further sanity checks in the future.

To test this I've had to commit a binary sample SpatiaLite database to
the repository. I included a build script for creating that database.

Closes #466
This commit is contained in:
Simon Willison 2019-05-11 15:55:30 -07:00
commit da0b3ce2b7
6 changed files with 98 additions and 56 deletions

5
.gitignore vendored
View file

@ -9,9 +9,8 @@ scratchpad
Pipfile
Pipfile.lock
# SQLite databases
*.db
*.sqlite
fixtures.db
*test.db
# Byte-compiled / optimized / DLL files
__pycache__/