Updates to test suite

This commit is contained in:
Ross Lawley
2012-12-19 13:58:04 +00:00
parent 50b755db0c
commit 42f506adc6
3 changed files with 274 additions and 253 deletions

View File

@@ -307,4 +307,7 @@ class QTest(unittest.TestCase):
self.assertEqual(1, User.objects.filter(
Q(email='example@example.com') |
Q(name='John Doe')
).limit(2).filter(pk=pk).count())
).limit(2).filter(pk=pk).count())
if __name__ == '__main__':
unittest.main()