mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
New datasette.urls URL builders, refs #904
This commit is contained in:
parent
c440ffc65a
commit
310c3a3e05
11 changed files with 64 additions and 44 deletions
|
|
@ -63,8 +63,13 @@ def test_spatialite_error_if_attempt_to_open_spatialite():
|
|||
def test_spatialite_error_if_cannot_find_load_extension_spatialite():
|
||||
runner = CliRunner()
|
||||
result = runner.invoke(
|
||||
cli, ["serve", str(pathlib.Path(__file__).parent / "spatialite.db"),
|
||||
"--load-extension", "spatialite"]
|
||||
cli,
|
||||
[
|
||||
"serve",
|
||||
str(pathlib.Path(__file__).parent / "spatialite.db"),
|
||||
"--load-extension",
|
||||
"spatialite",
|
||||
],
|
||||
)
|
||||
assert result.exit_code != 0
|
||||
assert "Could not find SpatiaLite extension" in result.output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue