Menu

Commit [r2494]  Maximize  Restore  History

db-refactoring: the database creation side of things was missing...

Now it's restored, and the unit-tests are functional again:
* The `pysqlite_to_sql` function has been made available so that
we can build the InMemoryConnection class, which is inheriting
either from PySQLite2Connection or PySQLite1Connection if the
former is not available
* The trac/tests/db.py has been moved in trac/db/tests/db.py
* but there are still 2 env related tests that are failing...

Also, in r2492, I forgot to port r2426 to pysqlite.py

cboos 2005-11-05

changed /sandbox/db-refactoring/trac/db/pysqlite.py
added /sandbox/db-refactoring/trac/db/tests
changed /sandbox/db-refactoring/trac/test.py
changed /sandbox/db-refactoring/trac/tests/__init__.py
renamed /sandbox/db-refactoring/trac/tests/db.py -> /sandbox/db-refactoring/trac/db/tests/db.py
changed /sandbox/db-refactoring/trac/tests/env.py
/sandbox/db-refactoring/trac/db/pysqlite.py Diff Switch to side-by-side view
Loading...
/sandbox/db-refactoring/trac/test.py Diff Switch to side-by-side view
Loading...
/sandbox/db-refactoring/trac/tests/__init__.py Diff Switch to side-by-side view
Loading...
/sandbox/db-refactoring/trac/tests/env.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB