mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Ported test_api.py app_client test to ds_client, refs #1959
This commit is contained in:
parent
5ee954e34b
commit
b077e63dc6
4 changed files with 156 additions and 80 deletions
|
|
@ -281,7 +281,7 @@ class Datasette:
|
|||
raise
|
||||
self.crossdb = crossdb
|
||||
self.nolock = nolock
|
||||
if memory or crossdb or not self.files:
|
||||
if memory or crossdb or (not self.files and memory is not False):
|
||||
self.add_database(
|
||||
Database(self, is_mutable=False, is_memory=True), name="_memory"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue