summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 0028475..90364ce 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -8,8 +8,8 @@ from db.db_manager import DbManager
@pytest.fixture(scope="module")
def database(request):
database = DbManager(
- db=os.path.join(os.path.dirname(os.path.realpath(__file__)),
- "test.db"))
+ os.path.join(os.path.dirname(os.path.realpath(__file__)),
+ "test.db"))
def fin():
database.close()
@@ -32,8 +32,8 @@ def app(request):
db = os.path.join(os.path.dirname(os.path.realpath(__file__)),
"testapp.db")
library_db = DbManager(
- db=os.path.join(os.path.dirname(os.path.realpath(__file__)),
- "test.db"))
+ os.path.join(os.path.dirname(os.path.realpath(__file__)),
+ "test.db"))
def fin():
library_db.close()