[Checkins]
SVN: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/tests/testSQLAlchemy.py
more tests
Andreas Jung
andreas at andreas-jung.com
Thu May 10 11:37:25 EDT 2007
Log message for revision 75671:
more tests
Changed:
U z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/tests/testSQLAlchemy.py
-=-
Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/tests/testSQLAlchemy.py
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/tests/testSQLAlchemy.py 2007-05-10 13:16:02 UTC (rev 75670)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/tests/testSQLAlchemy.py 2007-05-10 15:37:25 UTC (rev 75671)
@@ -121,6 +121,9 @@
M = Model()
self.assertRaises(ValueError, M.add, 'user', relations=('foo', 'bar'), autodetect_relations=True)
+ def testModelWeirdRelationsParameters(self):
+ M = Model()
+ self.assertRaises(TypeError, M.add, 'user', relations=('foo'))
def testModelNonExistingTables(self):
M = Model()
More information about the Checkins
mailing list