Skip to content

Commit d36abc4

Browse files
committed
avoid using in-memory database- that creates a db without using felis
1 parent a5fffc8 commit d36abc4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/conftest.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,8 @@ def db():
2525
create_database(CONNECTION_STRING, felis_schema=SCHEMA_PATH)
2626
assert os.path.exists(DB_NAME)
2727

28-
# Load data into an in-memory sqlite database first, for performance
29-
db = Database("sqlite://", reference_tables=REFERENCE_TABLES)
30-
db.load_database(DB_PATH, verbose=False)
31-
db.dump_sqlite(DB_NAME)
32-
33-
# Connect to the new database
28+
# Connect and load to the database
3429
db = Database(CONNECTION_STRING, reference_tables=REFERENCE_TABLES)
30+
db.load_database(DB_PATH, verbose=False)
3531

3632
return db

0 commit comments

Comments
 (0)