test_application.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:Mausoleum 作者: mandeep 项目源码 文件源码
def test_create_page_failure(window, qtbot):
    """Test tomb creation with key passwords that don't match."""
    button = window.create_page.create_button
    window.create_page.key_password.setText('1')
    window.create_page.confirm_password.setText('2')
    qtbot.mouseClick(button, Qt.LeftButton)
    assert window.create_page.message.text() == 'Key Passwords Do Not Match'
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号