(self)
| 429 | eq_(list(result)[0], (7,)) |
| 430 | |
| 431 | def test_get(self): |
| 432 | User = self.classes.User |
| 433 | with self._fixture() as (sess, bq): |
| 434 | bq = self.bakery(lambda s: s.query(User)) |
| 435 | |
| 436 | result = bq(sess).with_post_criteria( |
| 437 | lambda q: q.execution_options(yes=True) |
| 438 | ) |
| 439 | eq_(result.get(7), User(id=7)) |
| 440 | |
| 441 | |
| 442 | class ResultTest(BakedTest): |
nothing calls this directly
no test coverage detected