()
| 29 | |
| 30 | |
| 31 | def test_path_and(): |
| 32 | query = Query()['value'].exists() & (Query()['value'] == 5) |
| 33 | assert query({'value': 5}) |
| 34 | assert not query({'value': 10}) |
| 35 | assert not query({'something': 1}) |
| 36 | assert hash(query) |
| 37 | assert hash(query) != hash(where('value')) |
| 38 | |
| 39 | |
| 40 | def test_callable_in_path_with_map(): |