aboutsummaryrefslogtreecommitdiff
path: root/tests/sql_helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sql_helper.py')
-rw-r--r--tests/sql_helper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sql_helper.py b/tests/sql_helper.py
index c4cc2ca..8ab7bdb 100644
--- a/tests/sql_helper.py
+++ b/tests/sql_helper.py
@@ -19,7 +19,7 @@ class TestSqlHelper:
def test_scheme(self):
from generalresearch.sql_helper import SqlHelper
- dsn = MySQLDsn(f"mysql://root@localhost/test")
+ dsn = MySQLDsn("mysql://root@localhost/test")
instance = SqlHelper(dsn=dsn)
assert instance.is_mysql()
@@ -30,7 +30,7 @@ class TestSqlHelper:
# self.assertTrue(instance.is_postgresql())
with pytest.raises(ValidationError):
- SqlHelper(dsn=MariaDBDsn(f"maria://root@localhost/test"))
+ SqlHelper(dsn=MariaDBDsn("maria://root@localhost/test"))
def test_row_decode(self):
from generalresearch.sql_helper import decode_uuids