Ticket #69 (defect)
Opened 5 years ago
Last modified 5 years ago
SQLite fails tests in 'typeless' mode
Status: assigned
| Reported by: | fumanchu | Assigned to: | fumanchu (accepted) |
|---|---|---|---|
| Priority: | critical | Milestone: | 2.0 |
| Component: | Storage | Keywords: | |
| Cc: | Estimate (total hours): | 2 | |
Testing SQLite 'typeless'...
SQLite Version: 3.3.3
test_1_model (zoo_fixture.ZooTests) ... ok
test_2_populate (zoo_fixture.ZooTests) ... ok
test_3_Properties (zoo_fixture.ZooTests) ... ok
test_Aggregates (zoo_fixture.ZooTests) ... ok
test_DB_Introspection (zoo_fixture.ZooTests) ... FAIL
test_Editing (zoo_fixture.ZooTests) ... ok
test_Engines (zoo_fixture.ZooTests) ... ok
test_Expressions (zoo_fixture.ZooTests) ... ok
test_Iteration (zoo_fixture.ZooTests) ... ok
test_Multirecall (zoo_fixture.ZooTests) ... ok
test_Multithreading (zoo_fixture.ZooTests) ... ok
test_Subclassing (zoo_fixture.ZooTests) ... ok
test_autoclass (zoo_fixture.ZooTests) ... ok
test_autosource (zoo_fixture.ZooTests) ... ok
test_numbers (zoo_fixture.ZooTests) ... precision: 1 2 4 8FAIL
testzzzz_Schema_Upgrade (zoo_fixture.ZooTests) ... ok
======================================================================
FAIL: test_DB_Introspection (zoo_fixture.ZooTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\dejavu\test\zoo_fixture.py", line 814, in test_DB_Introspection
self.assertEqual(s.db.python_type(idcol.dbtype), int)
AssertionError: <type 'str'> != <type 'int'>
======================================================================
FAIL: test_numbers (zoo_fixture.ZooTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\dejavu\test\zoo_fixture.py", line 1019, in test_numbers
self.fail("%s != %s prec=%s scale=%s" %
AssertionError: -1L != 4294967295L prec=8 scale=1
FAILED (failures=2)
Ran zoo suite in: 0:01:08.078000
Change History
12/25/06 09:56:05: Modified by fumanchu
- milestone changed from 1.5 to 1.6.
