summaryrefslogtreecommitdiff
path: root/test/orm/inheritance/test_basic.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2009-07-25 20:27:33 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2009-07-25 20:27:33 +0000
commitc30cd4a6ab8b7884aa6a3ac9ac1141ede895191a (patch)
tree1c0bfbd16bf413876bfde96b7f7932f50bce9638 /test/orm/inheritance/test_basic.py
parent818c9a617eafd97b05fe7c1d14e3bd7683a39e93 (diff)
downloadsqlalchemy-c30cd4a6ab8b7884aa6a3ac9ac1141ede895191a.tar.gz
- fixed the test for FalseDiscriminator to use Boolean for picky postgresql
- added Query.enable_assertions(False) as a mediocre solution for [ticket:1424]. updated the recipe at http://www.sqlalchemy.org/trac/wiki/UsageRecipes/PreFilteredQuery to reflect. - moved most default Query state to be class level variables to start. the dicts could go as well but being overly careful to not place mutables there for the moment. - a visit by the "dunder-private method names aren't cool" police - continued undisciplined pep-8ness
Diffstat (limited to 'test/orm/inheritance/test_basic.py')
-rw-r--r--test/orm/inheritance/test_basic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/orm/inheritance/test_basic.py b/test/orm/inheritance/test_basic.py
index d2cf50d84..6aa77868e 100644
--- a/test/orm/inheritance/test_basic.py
+++ b/test/orm/inheritance/test_basic.py
@@ -74,7 +74,7 @@ class FalseDiscriminatorTest(_base.MappedTest):
global t1
t1 = Table('t1', metadata,
Column('id', Integer, primary_key=True),
- Column('type', Integer, nullable=False)
+ Column('type', Boolean, nullable=False)
)
def test_false_on_sub(self):