mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[soc2009/multidb] Split SQL construction into two seperate classes, the Query class which stores data about a query being constructed, and a Compiler class which generates SQL.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@11759 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -71,8 +71,6 @@ class PickleQuerySetTestCase(TestCase):
|
||||
def test_pickling(self):
|
||||
for db in connections:
|
||||
qs = Book.objects.all()
|
||||
self.assertEqual(qs.query.connection,
|
||||
pickle.loads(pickle.dumps(qs)).query.connection)
|
||||
self.assertEqual(qs._using, pickle.loads(pickle.dumps(qs))._using)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user