def test_where(self):
    c = Collection([{'v': 1}, {'v': 3}, {'v': 2}, {'v': 3}, {'v': 4}])
    self.assertEqual([{'v': 3}, {'v': 3}], c.where('v', 3).all())
def test_where(self):
    c = Collection([{'v': 1}, {'v': 3}, {'v': 2}, {'v': 3}, {'v': 4}])
    self.assertEqual([{'v': 3}, {'v': 3}], c.where('v', 3).all())