(self)
| 5756 | ) |
| 5757 | |
| 5758 | def test_select_star(self): |
| 5759 | User = self.classes.User |
| 5760 | |
| 5761 | eq_( |
| 5762 | fixture_session() |
| 5763 | .query(User) |
| 5764 | .from_statement(text("select * from users order by id")) |
| 5765 | .first(), |
| 5766 | User(id=7), |
| 5767 | ) |
| 5768 | eq_( |
| 5769 | fixture_session() |
| 5770 | .query(User) |
| 5771 | .from_statement( |
| 5772 | text("select * from users where name='nonexistent'") |
| 5773 | ) |
| 5774 | .first(), |
| 5775 | None, |
| 5776 | ) |
| 5777 | |
| 5778 | def test_select_star_future(self): |
| 5779 | User = self.classes.User |
nothing calls this directly
no test coverage detected