(self)
| 5110 | |
| 5111 | class ColumnOptionsTest(fixtures.TestBase): |
| 5112 | def test_default_generators(self): |
| 5113 | g1, g2 = Sequence("foo_id_seq"), ColumnDefault("f5") |
| 5114 | assert Column(String, default=g1).default is g1 |
| 5115 | assert Column(String, onupdate=g1).onupdate is g1 |
| 5116 | assert Column(String, default=g2).default is g2 |
| 5117 | assert Column(String, onupdate=g2).onupdate is g2 |
| 5118 | |
| 5119 | def _null_type_no_error(self, col): |
| 5120 | c_str = str(schema.CreateColumn(col).compile()) |
nothing calls this directly
no test coverage detected