摘要:
assertEqual(a, b, [msg='测试失败时打印的信息']) # a == b 断言a和b是否相等,相等则测试用例通过 assertNotEqual(a,b,[msg='测试失败时打印的信息']) # a != b 断言a和b是否相等,不相等则测试用例通过 assertTrue(x,[ 阅读全文
摘要:
from email import encoders from email.mime.text import MIMEText from email.utils import formatdate from email.mime.multipart import MIMEMultipart from 阅读全文