From d06f96388d754ed41876f7fccb63f84241d44963 Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Sun, 26 Mar 2017 10:19:59 +0100 Subject: Works on python 2/pypy --- tests/conftest.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/conftest.py') 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() -- cgit v1.2.3