(self, use_inplace, use_classmethod)
| 676 | @testing.variation("use_inplace", [True, False]) |
| 677 | @testing.variation("use_classmethod", [True, False]) |
| 678 | def test_query(self, use_inplace, use_classmethod): |
| 679 | A = self._fixture( |
| 680 | use_inplace=use_inplace, use_classmethod=use_classmethod |
| 681 | ) |
| 682 | sess = fixture_session() |
| 683 | self.assert_compile( |
| 684 | sess.query(A).filter_by(value="foo"), |
| 685 | "SELECT a.id AS a_id, a.value AS a_value " |
| 686 | "FROM a WHERE foo(a.value) + bar(a.value) = :param_1", |
| 687 | ) |
| 688 | |
| 689 | @testing.variation("use_inplace", [True, False]) |
| 690 | @testing.variation("use_classmethod", [True, False]) |
nothing calls this directly
no test coverage detected