From 58b24acdf440dff54fb060ddcd1a27f936ff2305 Mon Sep 17 00:00:00 2001 From: Jason Pellerin Date: Wed, 19 Jul 2006 18:58:41 +0000 Subject: [PATCH] [multi-db] Updated ansi sql test to reflect that drop table output is not reversed by default. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3388 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/othertests/ansi_sql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/othertests/ansi_sql.py b/tests/othertests/ansi_sql.py index 97c8e42c18..3242172ec3 100644 --- a/tests/othertests/ansi_sql.py +++ b/tests/othertests/ansi_sql.py @@ -70,11 +70,11 @@ True >>> 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 """