python测试心得

来源:互联网 发布:淘宝产品会自动下架吗 编辑:程序博客网 时间:2024/06/03 18:17
assertEquals(first,second[,msg])
assertTrue(expression[,msg])
assertFalse(expression[,msg])
assertRaises(exception,callable,...)
使用规则:assertEquals is prefered over assertTrue and assertFalse
0 0