translate the following code from ruby to python：
assert_true(rs.raw.include?("OK"),failMessage = "配对不成功") Provide your response in exactly 6 paragraphs (separated nearby paragraphs with 3 aterisk symbols ***).
user