summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/plugin/noseplugin.py
Commit message (Collapse)AuthorAgeFilesLines
* - endless isinstance(x, str)s....Mike Bayer2013-04-281-2/+8
|
* - the raw 2to3 runMike Bayer2013-04-271-5/+5
| | | | - went through examples/ and cleaned out excess list() calls
* - Fixed bug in unit of work whereby a joined-inheritanceMike Bayer2013-04-011-5/+2
| | | | | | | | | | | subclass could insert the row for the "sub" table before the parent table, if the two tables had no ForeignKey constraints set up between them. Also in 0.7.11. [ticket:2689] - fix a glitch in the assertsql.CompiledSQL fixture regarding when a multiparam compiledSQL is used within an AllOf - add a new utility function randomize_unitofwork() which does the function of --reversetop
* - add a nose runner that erases out argv, otherwiseMike Bayer2013-03-251-1/+0
| | | | | you get "import test" as what it tries to run with setup.py test
* - add support for pulling in an external requirements fileMike Bayer2013-02-061-3/+16
| | | | - start filling in default versions of remaining requirements that are still only in test/
* Fixed table reflection for Oracle when accessing a synonym that refersMike Bayer2012-12-091-2/+8
| | | | | | | | | | to a DBLINK remote database; while the syntax has been present in the Oracle dialect for some time, up until now it has never been tested. The syntax has been tested against a sample database linking to itself, however there's still some uncertainty as to what should be used for the "owner" when querying the remote database for table information. Currently, the value of "username" from user_db_links is used to match the "owner". [ticket:2619]
* juts a 'expected 2 blank lines' pep8 passDiana Clarke2012-11-191-1/+16
|
* - support "fails_if" requirements as __requires__; so far this just skips, ↵Mike Bayer2012-11-121-1/+6
| | | | | | | | | | doesn't actually run the test - add requirements for date/datetime/time capabilities - remove test/sql/test_types->DateTest and create new tests in suite/test_types - move the StringTest with the "no length create" test to the suite, though this is a weird test
* - [feature] Various API tweaks to the "dialect"Mike Bayer2012-10-081-6/+16
| | | | | | | API to better support highly specialized systems such as the Akiban database, including more hooks to allow an execution context to access type processors.
* - add back __engine_options__Mike Bayer2012-10-041-7/+20
| | | | | - break test_insert tests into explicitly get_lastrowid() vs. implicit_returning tests, fix up requirements to split them out
* - connect immediately on _create_testing_engine to initialize dialect ↵Mike Bayer2012-10-041-0/+1
| | | | capabilities
* - fix the fixture here that wasn't creating consistentlyMike Bayer2012-10-011-12/+19
| | | | | | | - rewrite --dropfirst to be more industrial strength, includes views - fix order_by="foreign_key" to maintain the same ordering as metadata.sorted_tables. Not ideal that this was the other way throughout 0.7 but this is still a little-used method, in contrast to metadata.sorted_tables.
* consolidate config into noseplugin, remove the dupe, load noseplugin using ↵Mike Bayer2012-09-301-9/+192
| | | | imp.load_source(), see if that works
* also get rid of satest.cfgMike Bayer2012-09-291-1/+1
|
* adjustmentsMike Bayer2012-09-291-1/+5
|
* getting everything to pass againMike Bayer2012-09-271-2/+1
|
* - add a runner moduleMike Bayer2012-09-271-1/+1
| | | | - make "default" the default dialect.
* tweaksMike Bayer2012-09-271-5/+5
|
* trying different approaches to test layout. in this one, the testing modulesMike Bayer2012-09-271-0/+199
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.