mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Renamed /:memory: to /_memory, with redirects - closes #1205
This commit is contained in:
parent
382e9ecd1d
commit
1600d2a3ec
10 changed files with 65 additions and 34 deletions
|
|
@ -221,7 +221,7 @@ def test_config_deprecated(ensure_eventloop):
|
|||
|
||||
def test_sql_errors_logged_to_stderr(ensure_eventloop):
|
||||
runner = CliRunner(mix_stderr=False)
|
||||
result = runner.invoke(cli, ["--get", "/:memory:.json?sql=select+blah"])
|
||||
result = runner.invoke(cli, ["--get", "/_memory.json?sql=select+blah"])
|
||||
assert result.exit_code == 1
|
||||
assert "sql = 'select blah', params = {}: no such column: blah\n" in result.stderr
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue