[SQL-CVS] r4553 - SQLObject/branches/1.3/sqlobject/tests
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <sub...@co...> - 2012-10-06 16:49:22
|
Author: phd Date: Sat Oct 6 10:49:16 2012 New Revision: 4553 Log: Merged revision 4552 from branch 1.2: drop table in case the test is being run for the second time on the same DB Modified: SQLObject/branches/1.3/sqlobject/tests/test_perConnection.py Modified: SQLObject/branches/1.3/sqlobject/tests/test_perConnection.py ============================================================================== --- SQLObject/branches/1.3/sqlobject/tests/test_perConnection.py Sat Oct 6 10:38:19 2012 (r4552) +++ SQLObject/branches/1.3/sqlobject/tests/test_perConnection.py Sat Oct 6 10:49:16 2012 (r4553) @@ -10,6 +10,7 @@ def test_perConnection(): connection = getConnection() + TestPerConnection.dropTable(connection=connection, ifExists=True) TestPerConnection.createTable(connection=connection) TestPerConnection(test='test', connection=connection) assert len(list(TestPerConnection.select(TestPerConnection.q.test=='test', connection=connection))) == 1 |