From 999d4a7676e54ec41eb3b4f3e97e342d05a32962 Mon Sep 17 00:00:00 2001 From: Ross Lawley Date: Tue, 21 Aug 2012 17:29:38 +0100 Subject: [PATCH] Fixed broken test --- tests/test_document.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_document.py b/tests/test_document.py index a4644641..f1c65b1c 100644 --- a/tests/test_document.py +++ b/tests/test_document.py @@ -754,6 +754,7 @@ class DocumentTest(unittest.TestCase): 'indexes': [ 'rank.title', ], + 'allow_inheritance': False } Person.drop_collection() @@ -762,7 +763,7 @@ class DocumentTest(unittest.TestCase): list(Person.objects) info = Person.objects._collection.index_information() info = [value['key'] for key, value in info.iteritems()] - self.assertTrue([('rank.title', '1')] in info) + self.assertTrue([('rank.title', 1)] in info) def test_explicit_geo2d_index(self): """Ensure that geo2d indexes work when created via meta[indexes]