Modify

Ticket #292 (closed defect: fixed)

Opened 4 years ago

Last modified 4 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:

Description

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)

Attachments

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

Change History

Changed 4 years ago by istruble

patch for failing tests under sqlite3

comment:1 Changed 4 years ago by andrew

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

comment:2 Changed 4 years ago by andrew

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

SQLite tests now all pass.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.