Beispiel #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)
 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)