Tests on sqlite broken
Context: launching tests running trytond/tests/run-tests.py
Error: looks like self._conn is None (Backtrace below)
Analyzing: When comparing to postgres, I feel like self.get_connection API is there to be sure to get a valid connection.
Am I missing something?
Traceback (most recent call last):
File "/home/ali/coopengo/src/workspace/trytond/trytond/tests/test_tryton.py", line 97, in setUpClass
drop_create()
File "/home/ali/coopengo/src/workspace/trytond/trytond/tests/test_tryton.py", line 305, in drop_create
create_db()
File "/home/ali/coopengo/src/workspace/trytond/trytond/tests/test_tryton.py", line 294, in create_db
create(None, DB_NAME, None, 'en_US', USER_PASSWORD)
File "/home/ali/coopengo/src/workspace/trytond/trytond/protocols/dispatcher.py", line 278, in create
Database(database_name).init()
File "/home/ali/coopengo/src/workspace/trytond/trytond/backend/sqlite/database.py", line 331, in init
with self._conn as conn: