예제 #1
0
 def test_filter_all(self):
     """Filtering with .all() returns the PkOnlyQueryset."""
     pkvl = PkOnlyQueryset(self.cache, User, range(5))
     pkall = pkvl.all()
     self.assertEqual(pkvl, pkall)
예제 #2
0
 def test_filter_all(self):
     """Filtering with .all() returns the PkOnlyQueryset."""
     pkvl = PkOnlyQueryset(self.cache, User, range(5))
     pkall = pkvl.all()
     self.assertEqual(pkvl, pkall)