Commit Graph

40 Commits

Author SHA1 Message Date
Mike Bayer f4c51cd8b0 Merged in msabramo/sqlalchemy (pull request #9) 2012-06-18 10:06:49 -04:00
Diana Clarke 66227a93da typos 2011-11-29 22:42:39 -05:00
Mike Bayer 9211ecb6cf - Unit tests pass 100% on MySQL installed
on windows, after aggressive exclusion of a wide variety
of tests.   Not clear to what degree the failures are related to
version 5.5 vs. the usage of windows, in particular the ON UPDATE CASCADE
immediately crashes the server.   The features being tested here are all
edge cases not likely to be used in typical MySQL environments.
- Removed the "adjust casing" step that would
fail when reflecting a table on MySQL
on windows with a mixed case name.  After some
experimenting with a windows MySQL server, it's
been determined that this step wasn't really
helping the situation much; MySQL does not return
FK names with proper casing on non-windows
platforms either, and removing the step at
least allows the reflection to act more like
it does on other OSes.   A warning here
has been considered but its difficult to
determine under what conditions such a warning
can be raised, so punted on that for now -
added some docs instead. [ticket:2181]

- supports_sane_rowcount will be set to False
if using MySQLdb and the DBAPI doesn't provide
the constants.CLIENT module.
2011-06-02 19:52:26 -04:00
Mike Bayer 8b960257ae weird non-ascii char 2011-02-12 17:09:59 -05:00
Mike Bayer 350aed3fdb - whitespace removal bonanza 2011-01-02 14:23:42 -05:00
Mike Bayer 39fddb8bda - set sqla_nose as the setup.py test runner - works ! 2010-11-16 13:33:48 -05:00
Mike Bayer 756aa2724e first step of [ticket:1949], remove the setuptools aspect
of the plugin, move it to test/bootstrap
2010-11-15 19:25:34 -05:00
Mike Bayer 4c61875aa1 - nose3 seems to support "addplugins" now
- add a note about sqla_nose.py
2010-11-13 11:26:05 -05:00
Mike Bayer a9f2ed7b46 - latest distribute
- added caveats to unittest README encountered with Py2.7 + current nose 0.11.3
- call counts for py2.7.   all tests pass for sqlite + mysql-python + psycopg2
2010-07-05 19:54:46 -04:00
Mike Bayer 63cea59c05 fix verbiage 2010-04-18 19:13:47 -04:00
Chris Withers a5c9696a7c Add instructions to install nose adn NB that it won't happen by magic 2010-04-07 18:09:21 +01:00
Mike Bayer 9b597425c9 - name all the "sub" dialect components <DB><component>_<dialectname>, [ticket:1738] 2010-03-14 19:31:30 -04:00
Mike Bayer 127c02747c - many incantations to get the tests to run reasonably
- executemany() for some reason uses some tiny buffer, overriding it
- we need to use the IDENTITY_INSERT thing
2010-03-14 23:03:24 +00:00
Mike Bayer 39fd3442e3 - initial working version of sybase, with modifications to the transactional
model to accomodate Sybase's default mode of "no ddl in transactions".
- identity insert not working yet.  it seems the default here might be the
opposite of that of MSSQL.
- reflection will be a full rewrite
- default DBAPI is python-sybase, well documented and nicely DBAPI compliant
except for the bind parameter situation, where we have a straightforward workaround
- full Sybase docs at: http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.help.ase_15.0/title.htm
2010-03-14 22:04:20 +00:00
Mike Bayer d9af1828fb starting to add notes for sybase 2010-03-14 15:00:27 -04:00
Michael Trier d050991944 Modified unittests docs to explain that --first-package-wins=True is required on Windows. Also modified the setup.cfg to add this option so that if using the default config there will be consistent behavior on all platforms. 2010-02-23 00:27:34 +00:00
Mike Bayer 2b1937a31e - reorganized and re-documented Oracle schema tests to assume
test user has DBA privs, and all objects can be created /dropped.
- added ORDER BY to oracle column listing
- Oracle all_tables always limits to current user if schema not given.
- views reflect - added documentation + a unit test for this.
- Table(autoload) with no bind produces an error message specific to
the fact that autoload_with should be the first option to try.
2010-01-17 20:32:45 +00:00
Mike Bayer 15bc27bfb7 update test_schema/test_schema_2 docs, per [ticket:1644] 2010-01-17 18:10:37 +00:00
Michael Trier 9ae821ee66 Removed references to sequence in MSSQL
Implicit identities in mssql work the same as implicit sequences on any
other dialects. Explicit sequences are enabled through the use of
"default=Sequence()". See the MSSQL dialect documentation for more
information.
2009-10-22 03:29:52 +00:00
Philip Jenvey f385260987 mssql+zxjdbc support
original patch from Victor Ng
fixes #1505
2009-09-11 08:10:32 +00:00
Mike Bayer 8fc5005dfe merge 0.6 series to trunk. 2009-08-06 21:11:27 +00:00
Mike Bayer 5503028d8c changed reference to PostgreSQL in docs. 2009-07-13 02:04:54 +00:00
Mike Bayer 45cec095b4 - unit tests have been migrated from unittest to nose.
See README.unittests for information on how to run
the tests.  [ticket:970]
2009-06-10 21:18:24 +00:00
Mike Bayer 290ff9930a - coverage dumps out separate reports for individual packages
- other coverage tips
2009-03-29 20:23:05 +00:00
Mike Bayer a3ab10c3f3 - removed 2.3 compat stuff
- updated MANIFEST for the newer build
2009-01-06 18:19:59 +00:00
Michael Trier a7fe20bfda Added note for mssql about using snapshot isolation in order to get multiple
connection session tests to pass.
2009-01-02 18:24:49 +00:00
Michael Trier 4e8a817ac2 A few 2.3 cleanup items. 2008-12-30 06:24:59 +00:00
Michael Trier 4af4968926 Corrected a reference to alt_schema_2 and fixed a docstring indentation for Table. 2008-07-03 03:10:46 +00:00
Jason Kirtland f980c5c88f Added notes about 2.3 improvements 2008-01-23 18:26:50 +00:00
Jason Kirtland b640456af1 Updated bit about coverage.py 2008-01-16 23:53:01 +00:00
Jason Kirtland 35f7a0b594 Added lots o' info. 2008-01-05 20:50:10 +00:00
Mike Bayer ed4fc64bb0 merging 0.4 branch to trunk. see CHANGES for details. 0.3 moves to maintenance branch in branches/rel_0_3. 2007-07-27 04:08:53 +00:00
Jonathan Ellis 96ee77cd09 fix running tests on Windows 2007-06-01 04:55:17 +00:00
Mike Bayer 437f1ce670 - postgres cursor option is now server_side_cursors=False; some users get bad results using them
so theyre off by default
- type system slightly modified to support TypeDecorators that can be overridden by the dialect
- added an NVarchar type to mssql (produces NVARCHAR), also MSUnicode which provides Unicode-translation
for the NVarchar regardless of dialect convert_unicode setting.
2007-01-14 20:21:36 +00:00
Mike Bayer 749ac647d7 integrated coverage.py into unittest suite 2006-10-23 01:26:24 +00:00
Mike Bayer e812785c2d - logging is now implemented via standard python "logging" module.
"echo" keyword parameters are still functional but set/unset
log levels for their respective classes/instances.  all logging
can be controlled directly through the Python API by setting
INFO and DEBUG levels for loggers in the "sqlalchemy" namespace.
class-level logging is under "sqlalchemy.<module>.<classname>",
instance-level logging under "sqlalchemy.<module>.<classname>.<hexid>".
Test suite includes "--log-info" and "--log-debug" arguments
which work independently of --verbose/--quiet.  Logging added
to orm to allow tracking of mapper configurations, row iteration
fixes [ticket:229] [ticket:79]
2006-09-24 23:59:22 +00:00
Mike Bayer 5b8ab3e8ab added "dev" tag to default setup
some extra README
2006-08-26 19:00:37 +00:00
Mike Bayer fb88b031d9 comment 2006-08-11 23:21:51 +00:00
Mike Bayer b3927fbb88 inserting './lib/' into sys.path since PYTHONPATH no longer straightforward with latest setuptools 2006-06-29 00:28:55 +00:00
Mike Bayer 120dcee5a7 reorganized unit tests into subdirectories 2006-06-05 17:25:51 +00:00