pauldex / sqlalchemy-firebird

A Firebird dialect for SQLAlchemy using the firebird-driver and/or fdb python Firebird driver
MIT License
23 stars 15 forks source link

Fix test suite for SQLAlchemy 2.0 #44

Closed fdcastel closed 1 year ago

fdcastel commented 1 year ago

I've rebased my current work with the latest main.

I'm sending this PR which, while still incomplete and with many tests failing, fixes some fundamental problems with the test suite and may help anyone who wishes to run the test suite with SQLAlchemy 2.0.

On my machine and using Firebird 4.0.2 the results are:

=== 77 failed, 427 passed, 846 skipped, 9 errors in 13.41s ===

Remember to update setup.cfg with an empty (recently created) Firebird database before run the tests. E.g.

[db]
default = firebird://SYSDBA:masterkey@localhost/C:/Temp/sqla_test.fdb?charset=UTF8

I'm abroad until next weekend so I cannot devote much time on this right now. But I intend to review and fix the entire test suite for Firebird 3 and 4.

Best regards!

pauldex commented 1 year ago

Thanks for your updates.

pauldex commented 1 year ago

Thanks again - this time the merge worked.