def test_add_clock_column_verification():
with pytest.raises(exc.InvalidRequestError):
@temporal.add_clock('prop_a', 'prop_b', 'prop_c')
class TempFail(temporal.Clocked, models.ExpectedFailBase):
__tablename__ = 'temp_fail'
__table_args__ = {'schema': models.SCHEMA}
id = models.auto_uuid()
prop_a = sa.Column(sa.Integer)
prop_b = sa.Column(sap.TEXT)
test_invariants.py 文件源码
python
阅读 25
收藏 0
点赞 0
评论 0
评论列表
文章目录