(self)
| 6378 | ) |
| 6379 | |
| 6380 | def test_only_one_sentinel(self): |
| 6381 | with expect_raises_message( |
| 6382 | exc.ArgumentError, |
| 6383 | "a Table may have only one explicit sentinel column", |
| 6384 | ): |
| 6385 | Table( |
| 6386 | "t", |
| 6387 | MetaData(), |
| 6388 | Column("id", Integer, primary_key=True, insert_sentinel=True), |
| 6389 | Column("ASdf", String(50)), |
| 6390 | insert_sentinel("sentinel"), |
| 6391 | ) |
| 6392 | |
| 6393 | def test_no_sentinel_default_on_notnull(self): |
| 6394 | with expect_raises_message( |
nothing calls this directly
no test coverage detected