summaryrefslogtreecommitdiff
path: root/test/engine/test_processors.py
Commit message (Collapse)AuthorAgeFilesLines
* Make all tests to be PEP8 compliantKhairi Hafsham2017-02-071-12/+11
| | | | | | | | tested using pycodestyle version 2.2.0 Fixes: #3885 Change-Id: I5df43adc3aefe318f9eeab72a078247a548ec566 Pull-request: https://github.com/zzzeek/sqlalchemy/pull/343
* Make boolean processors consistent between Py/C; coerce to 1/0Mike Bayer2016-06-231-0/+79
| | | | | | | | | | | | | The processing performed by the :class:`.Boolean` datatype for backends that only feature integer types has been made consistent between the pure Python and C-extension versions, in that the C-extension version will accept any integer value from the database as a boolean, not just zero and one; additionally, non-boolean integer values being sent to the database are coerced to exactly zero or one, instead of being passed as the original integer value. Change-Id: I01e647547fd7047bd549dd70e1fa202c51e8328b Fixes: #3730
* PEP8 cleanup in /test/enginepr/163Eric Streeper2015-03-201-6/+9
|
* - the raw 2to3 runMike Bayer2013-04-271-2/+2
| | | | - went through examples/ and cleaned out excess list() calls
* trying different approaches to test layout. in this one, the testing modulesMike Bayer2012-09-271-2/+2
| | | | | | | become an externally usable package but still remains within the main sqlalchemy parent package. in this system, we use kind of an ugly hack to get the noseplugin imported outside of the "sqlalchemy" package, while still making it available within sqlalchemy for usage by third party libraries.
* - add new C extension "utils", so far includes distill_paramsMike Bayer2012-08-071-9/+117
| | | | | - repair test_processors which wasn't hitting the python functions - add another suite to test_processors that does distill_params
* cleanup test_processors, modeling the PEP 399 stylePhilip Jenvey2012-03-071-72/+25
|
* - [bug] Improved error messages when a non-stringMike Bayer2012-01-221-0/+107
or invalid string is passed to any of the date/time processors used by SQLite, including C and Python versions. [ticket:2382] - changed the import model of processors.py so that we can get at the pure python versions and C versions simultaneously in tests.