def METHOD_NAME(self):
    context = op_fixture(
        naming_convention={"ck": "ck_%(table_name)s_%(constraint_name)s"}
    )
    op.create_table(
        "some_table",
        Column(
            "x", Integer, CheckConstraint("im a constraint", name="cc1")
        ),
    )
    context.assert_(
        "CREATE TABLE some_table "
        "(x INTEGER CONSTRAINT ck_some_table_cc1 CHECK (im a constraint))"
    )