(self)
| 421 | ) |
| 422 | |
| 423 | async def test_sql_dml_insert_17b(self): |
| 424 | # more default values |
| 425 | await self.scon.execute( |
| 426 | ''' |
| 427 | INSERT INTO "Post" (id, title, content) VALUES |
| 428 | (DEFAULT, 'foo', 'bar'), |
| 429 | (DEFAULT, 'post', DEFAULT), |
| 430 | (DEFAULT, DEFAULT, 'content'), |
| 431 | (DEFAULT, DEFAULT, DEFAULT); |
| 432 | ''' |
| 433 | ) |
| 434 | res = await self.squery_values('SELECT title, content FROM "Post"') |
| 435 | self.assert_data_shape( |
| 436 | res, |
| 437 | tb.bag([ |
| 438 | ['foo', 'bar'], |
| 439 | ['post', 'This page intentionally left blank'], |
| 440 | ['untitled', 'content'], |
| 441 | ['untitled', 'This page intentionally left blank'], |
| 442 | ]), |
| 443 | ) |
| 444 | |
| 445 | async def test_sql_dml_insert_18(self): |
| 446 | res = await self.scon.fetch( |
nothing calls this directly
no test coverage detected