(self)
| 4015 | eq_(getattr(c, k), v) |
| 4016 | |
| 4017 | def test_check_constraint_copy(self): |
| 4018 | m = MetaData() |
| 4019 | t = Table("tbl", m, Column("a", Integer), Column("b", Integer)) |
| 4020 | ck = CheckConstraint(t.c.a > 5) |
| 4021 | ck2 = ck._copy() |
| 4022 | assert ck in t.constraints |
| 4023 | assert ck2 not in t.constraints |
| 4024 | |
| 4025 | def test_ambig_check_constraint_auto_append(self): |
| 4026 | m = MetaData() |
nothing calls this directly
no test coverage detected