diff options
| author | Max Nanis | 2026-08-24 12:35:35 -0700 |
|---|---|---|
| committer | Max Nanis | 2026-08-24 12:35:35 -0700 |
| commit | e2c5de703be45746bacaea4136f24440ff5a291c (patch) | |
| tree | 9c3d9d448e56357feda24a4b0749370a9a33cb55 /tests/sql_helper.py | |
| parent | d48f04ab7f034b9b2039c42cd616d7d7851817b9 (diff) | |
| download | generalresearch-e2c5de703be45746bacaea4136f24440ff5a291c.tar.gz generalresearch-e2c5de703be45746bacaea4136f24440ff5a291c.zip | |
Ruff std replacements
Diffstat (limited to 'tests/sql_helper.py')
| -rw-r--r-- | tests/sql_helper.py | 4 |
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 |
