Ticket #292 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

some tests failing under sqlite3

Reported by: istruble Owned by: andrew
Priority: minor Milestone: 0.7
Component: commands Version: 0.6.2
Keywords: sqlite3, tests Cc:


There are a few tests that are failing due either to syntax quirks or functionality differences in sqlite3.

In sqlite3 land, now() is not supported but you can use {date|time|datetime}('now') in its place. test_alter_column_null in test/logic.py uses now().

All stored data in sqlite3 is dynamically typed. There are also a few limitations on what ALTER TABLE can change. Tests that exercise these limitations (or quirks if you prefer), should probably be skipped for sqlite3.

Running the south tests with sqlite3 under 0.6.2 and changeset 550 both result in:

FAILED (failures=1, errors=5)


sqlite3_tests.diff (2.3 KB) - added by istruble 6 years ago.
patch for failing tests under sqlite3

Change History

Changed 6 years ago by istruble

patch for failing tests under sqlite3

comment:1 Changed 6 years ago by andrew

  • Status changed from new to assigned
  • Milestone set to 0.7

comment:2 Changed 5 years ago by andrew

  • Status changed from assigned to closed
  • Resolution set to fixed

SQLite tests now all pass.

Note: See TracTickets for help on using tickets.