Author: jpellerin
Date: 2006-07-19 13:58:41 -0500 (Wed, 19 Jul 2006)
New Revision: 3388

Modified:
   django/branches/multiple-db-support/tests/othertests/ansi_sql.py
Log:
[multi-db] Updated ansi sql test to reflect that drop table output is 
not reversed by default.


Modified: django/branches/multiple-db-support/tests/othertests/ansi_sql.py
===================================================================
--- django/branches/multiple-db-support/tests/othertests/ansi_sql.py    
2006-07-19 18:58:03 UTC (rev 3387)
+++ django/branches/multiple-db-support/tests/othertests/ansi_sql.py    
2006-07-19 18:58:41 UTC (rev 3388)
@@ -70,11 +70,11 @@
 >>> Car._default_manager.db.backend.supports_constraints
 True
 >>> builder.get_drop_table(Car, cascade=True)
-[BoundStatement('ALTER TABLE "ansi_sql_mod" ...'), BoundStatement('DROP TABLE 
"ansi_sql_car";')]
+[BoundStatement('DROP TABLE "ansi_sql_car";'), BoundStatement('ALTER TABLE 
"ansi_sql_mod" ...')]
 >>> builder.get_drop_table(Collector)
 [BoundStatement('DROP TABLE "ansi_sql_collector";')]
 >>> builder.get_drop_table(Collector, cascade=True)
-[BoundStatement('DROP TABLE "ansi_sql_collector_cars";'), BoundStatement('DROP 
TABLE "ansi_sql_collector";')]
+[BoundStatement('DROP TABLE "ansi_sql_collector";'), BoundStatement('DROP 
TABLE "ansi_sql_collector_cars";')]
 >>> Mod._default_manager.db.backend.supports_constraints = real_cnst
 
 """


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to