From e2fecde4a97c455d85c3ae20bc6344e9012830d2 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 5 Aug 2009 21:49:24 +0000 Subject: [PATCH] [soc2009/multidb] Removed several tests that were no longer needed as they're tested elsehwere git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@11405 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/multiple_database/tests.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/regressiontests/multiple_database/tests.py b/tests/regressiontests/multiple_database/tests.py index f5d41e9be0..0751a5284f 100644 --- a/tests/regressiontests/multiple_database/tests.py +++ b/tests/regressiontests/multiple_database/tests.py @@ -15,19 +15,6 @@ except ImportError: pass class ConnectionHandlerTestCase(TestCase): - def setUp(self): - settings.DATABASES['__test_db'] = { - 'DATABASE_ENGINE': 'sqlite3', - 'DATABASE_NAME': ':memory:', - } - - def tearDown(self): - del settings.DATABASES['__test_db'] - - def test_db_connection(self): - connections['default'].cursor() - connections['__test_db'].cursor() - def test_alias_for_connection(self): for db in connections: self.assertEqual(db, connections.alias_for_connection(connections[db]))