mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-05-10 06:13:54 +00:00
refactor: cleanup parameters of open_library and open_sqlite_library (#1294)
This commit is contained in:
@@ -33,7 +33,7 @@ def cwd():
|
||||
def file_mediatypes_library():
|
||||
lib = Library()
|
||||
|
||||
status = lib.open_library(Path(""), ":memory:")
|
||||
status = lib.open_library(Path(""), in_memory=True)
|
||||
assert status.success
|
||||
folder = unwrap(lib.folder)
|
||||
|
||||
@@ -84,7 +84,7 @@ def library(request, library_dir: Path): # pyright: ignore
|
||||
library_path = Path(request.param)
|
||||
|
||||
lib = Library()
|
||||
status = lib.open_library(library_path, ":memory:")
|
||||
status = lib.open_library(library_path, in_memory=True)
|
||||
assert status.success
|
||||
folder = unwrap(lib.folder)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user