summaryrefslogtreecommitdiffstats
path: root/test/conftest.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-07 09:38:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-07 09:38:54 +0000
commit69a60002fd1bb149ca60d888e5b290ba527ae400 (patch)
tree70b027a809ee8f8fea766316f8d52f56b1dc6f32 /test/conftest.py
parentAdding upstream version 1.25.0. (diff)
downloadmycli-69a60002fd1bb149ca60d888e5b290ba527ae400.tar.xz
mycli-69a60002fd1bb149ca60d888e5b290ba527ae400.zip
Adding upstream version 1.26.1.upstream/1.26.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--test/conftest.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/conftest.py b/test/conftest.py
index d7d10ce..1325596 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -6,8 +6,8 @@ import mycli.sqlexecute
@pytest.fixture(scope="function")
def connection():
- create_db('_test_db')
- connection = db_connection('_test_db')
+ create_db('mycli_test_db')
+ connection = db_connection('mycli_test_db')
yield connection
connection.close()
@@ -22,7 +22,7 @@ def cursor(connection):
@pytest.fixture
def executor(connection):
return mycli.sqlexecute.SQLExecute(
- database='_test_db', user=USER,
+ database='mycli_test_db', user=USER,
host=HOST, password=PASSWORD, port=PORT, socket=None, charset=CHARSET,
local_infile=False, ssl=None, ssh_user=SSH_USER, ssh_host=SSH_HOST,
ssh_port=SSH_PORT, ssh_password=None, ssh_key_filename=None