(self)
| 207 | ) |
| 208 | |
| 209 | def test_generic_now(self): |
| 210 | assert isinstance(func.now().type, sqltypes.DateTime) |
| 211 | |
| 212 | for ret, dialect in [ |
| 213 | ("CURRENT_TIMESTAMP", sqlite.dialect()), |
| 214 | ("now()", postgresql.dialect()), |
| 215 | ("now()", mysql.dialect()), |
| 216 | ("CURRENT_TIMESTAMP", oracle.dialect()), |
| 217 | ]: |
| 218 | self.assert_compile(func.now(), ret, dialect=dialect) |
| 219 | |
| 220 | def test_generic_random(self): |
| 221 | assert func.random().type == sqltypes.NULLTYPE |
nothing calls this directly
no test coverage detected