(self)
| 1821 | ) |
| 1822 | |
| 1823 | def test_no_group_by_labels(self): |
| 1824 | lab1 = (table1.c.myid + 12).label("foo") |
| 1825 | lab2 = func.somefunc(table1.c.name).label("bar") |
| 1826 | dialect = default.DefaultDialect() |
| 1827 | |
| 1828 | self.assert_compile( |
| 1829 | select(lab1, lab2).group_by(lab1, lab2), |
| 1830 | "SELECT mytable.myid + :myid_1 AS foo, somefunc(mytable.name) " |
| 1831 | "AS bar FROM mytable GROUP BY mytable.myid + :myid_1, " |
| 1832 | "somefunc(mytable.name)", |
| 1833 | dialect=dialect, |
| 1834 | ) |
| 1835 | |
| 1836 | def test_conjunctions(self): |
| 1837 | a, b, c = text("a"), text("b"), text("c") |
nothing calls this directly
no test coverage detected