diff --git a/labbookdb/tests/test_basic.py b/labbookdb/tests/test_basic.py index eeb36cb..b95d6a4 100644 --- a/labbookdb/tests/test_basic.py +++ b/labbookdb/tests/test_basic.py @@ -1,6 +1,6 @@ from labbookdb.db import add def test_load(): - session, engine = add.load_session("~/somepath.db") + session, engine = add.load_session("/tmp/somepath.db") session.close() engine.dispose() diff --git a/labbookdb/tests/test_query.py b/labbookdb/tests/test_query.py index f64072a..38bb0f6 100644 --- a/labbookdb/tests/test_query.py +++ b/labbookdb/tests/test_query.py @@ -3,7 +3,7 @@ from labbookdb.db import add def test_related_entry_separators(): - session, engine = add.load_session("~/somepath.db") + session, engine = add.load_session("/tmp/somepath.db") with pytest.raises(BaseException) as excinfo: add.get_related_ids(session, engine, "Animal:external_ids.AnimalExternalIdentifier:database.ETH/AIC/cdb&#&identifier.275511") assert excinfo.value.args[0] == 'No entry was found with a value of "275511" on the "identifier" column of the "AnimalExternalIdentifier" CATEGORY, in the database.'