(self)
| 359 | ) |
| 360 | |
| 361 | def test_prefix_with(self): |
| 362 | table1 = self.tables.mytable |
| 363 | |
| 364 | stmt = ( |
| 365 | table1.insert() |
| 366 | .prefix_with("A", "B", dialect="mysql") |
| 367 | .prefix_with("C", "D") |
| 368 | ) |
| 369 | |
| 370 | self.assert_compile( |
| 371 | stmt, |
| 372 | "INSERT C D INTO mytable (myid, name, description) " |
| 373 | "VALUES (:myid, :name, :description)", |
| 374 | ) |
| 375 | |
| 376 | self.assert_compile( |
| 377 | stmt, |
| 378 | "INSERT A B C D INTO mytable (myid, name, description) " |
| 379 | "VALUES (%s, %s, %s)", |
| 380 | dialect=mysql.dialect(), |
| 381 | ) |
| 382 | |
| 383 | def test_inline_default(self): |
| 384 | metadata = MetaData() |
nothing calls this directly
no test coverage detected