summaryrefslogtreecommitdiff
path: root/test/dialect/sqlite.py
Commit message (Collapse)AuthorAgeFilesLines
* - unit tests have been migrated from unittest to nose.Mike Bayer2009-06-101-501/+0
| | | | | See README.unittests for information on how to run the tests. [ticket:970]
* Corrected the SQLite SLBoolean type so that it properly treats 1 only as ↵Michael Trier2009-05-051-0/+22
| | | | True. Fixes #1402
* Corrected the sqlite float type so that it properly gets reflected as a ↵Michael Trier2009-04-131-1/+1
| | | | SLFloat type. Fixes #1273.
* extract() is now dialect-sensitive and supports SQLite and others.Jason Kirtland2009-03-301-1/+31
|
* identified the SQLite changes which affect default reflectionMike Bayer2009-01-031-2/+4
|
* sqlite tests run fine locally but the buildbot seems to have an issue. ↵Michael Trier2009-01-031-5/+5
| | | | Perhaps this will work.
* sqlite reflection now stores the actual DefaultClause value for the column.Michael Trier2009-01-021-0/+48
|
* - String's (and Unicode's, UnicodeText's, etc.) convert_unicoderel_0_5rc2Mike Bayer2008-10-121-0/+18
| | | | | | | logic disabled in the sqlite dialect, to adjust for pysqlite 2.5.0's new requirement that only Python unicode objects are accepted; http://itsystementwicklung.de/pipermail/list-pysqlite/2008-March/000018.html
* - Overhauled SQLite date/time bind/result processingMike Bayer2008-09-191-0/+1
| | | | | | to use regular expressions and format strings, rather than strptime/strftime, to generically support pre-1900 dates, dates with microseconds. [ticket:968]
* Raised an error when sqlite version does not support default values. ↵Michael Trier2008-07-291-9/+7
| | | | Addresses #909 in a purposeful way.
* Added new basic match() operator that performs a full-text search. Supported ↵Michael Trier2008-07-131-0/+82
| | | | on PostgreSQL, SQLite, MySQL, MS-SQL, and Oracle backends.
* - SQLite Date, DateTime, and Time types only accept PythonMike Bayer2008-07-091-19/+2
| | | | | | | | datetime objects now, not strings. If you'd like to format dates as strings yourself with SQLite, use a String type. If you'd like them to return datetime objects anyway despite their accepting strings as input, make a TypeDecorator around String - SQLA doesn't encourage this pattern.
* - Modified SQLite's representation of "microseconds" toMike Bayer2008-06-271-1/+15
| | | | | | | | | | | match the output of str(somedatetime), i.e. in that the microseconds are represented as fractional seconds in string format. [ticket:1090] - implemented a __legacy_microseconds__ flag on DateTimeMixin which can be used per-class or per-type instances to get the old behavior, for compatibility with existing SQLite databases encoded by a previous version of SQLAlchemy. - will implement the reverse legacy behavior in 0.4.
* Columns now have default= and server_default=. PassiveDefault fades away.Jason Kirtland2008-05-141-2/+2
|
* Test suite modernization in progress. Big changes:Jason Kirtland2008-05-091-7/+7
| | | | | | | | | | | - @unsupported now only accepts a single target and demands a reason for not running the test. - @exclude also demands an exclusion reason - Greatly expanded @testing.requires.<feature>, eliminating many decorators in the suite and signficantly easing integration of multi-driver support. - New ORM test base class, and a featureful base for mapped tests - Usage of 'global' for shared setup going away, * imports as well
* r4695 merged to trunk; trunk now becomes 0.5.Mike Bayer2008-05-091-7/+7
| | | | 0.4 development continues at /sqlalchemy/branches/rel_0_4
* - updated the naming scheme of the base test classes in test/testlib/testing.py;Mike Bayer2008-02-111-3/+3
| | | | | tests extend from either TestBase or ORMTest, using additional mixins for special assertion methods as needed
* - Enabled schema support on SQLite, added the temporary table namespace to ↵Jason Kirtland2008-02-051-0/+61
| | | | | | table name reflection - TODO: add sqlite to the standard alternate schema tests. a little tricky, because unlike CREATE SCHEMA, an ATTACH DATABASE won't survive a pool dispose...
* - fixed reflection of Time columns on sqliteJason Kirtland2008-02-011-0/+68
|
* - testbase is gone, replaced by testenvJason Kirtland2008-01-121-15/+15
| | | | | | - Importing testenv has no side effects- explicit functions provide similar behavior to the old immediate behavior of testbase - testing.db has the configured db - Fixed up the perf/* scripts
* - Removed @testing.supported. Dialects in development or maintained outsideJason Kirtland2007-12-131-16/+13
| | | | | | | | | | | the tree can now run the full suite of tests out of the box. - Migrated most @supported to @fails_on, @fails_on_everything_but, or (last resort) @unsupported. @fails_on revealed a slew of bogus test skippage, which was corrected. - Added @fails_on_everything_but. Yes, the first usage *was* "fails_on_everything_but('postgres')". How did you guess! - Migrated @supported in dialect/* to the new test-class attribute __only_on__. - Test classes can also have __unsupported_on__ and __excluded_on__.
* - removed regular expression step from most statement compilations.Mike Bayer2007-10-271-0/+15
| | | | | | also fixes [ticket:833] - inlining on PG with_returning() call - extra options added for profiling
* bumped sqlite version for empty insert test to 3.4Mike Bayer2007-10-211-6/+10
|
* Excluding older sqlite versions from the new insert tests. Currently ↵Jason Kirtland2007-10-201-0/+6
| | | | conservative- 2.8 definitely fails, 3.3 works. The 3.0 and 3.1 binaries from sqlite.org segfault for me so the version check should be revisited when possible.
* Fixed empty (zero column) sqlite inserts, allowing inserts onJason Kirtland2007-10-191-0/+63
| | | | autoincrementing single column tables.
* - sqlite housekeeping- added dialect test & moved tests there, pruned the ↵Jason Kirtland2007-10-111-0/+89
dialect's reserved words.