def test_clear_logtext(wind):
    'Test checker logTextEdit widget function.'
    (window, _) = wind
    checktab = window.central.checkWidget
    window.central.setCurrentWidget(checktab)
    text_edit = checktab.textEdit
    text_edit.insertPlainText('sometext')
    text_edit.clear_data()
    assert (text_edit.toPlainText() == '')
Test checker logTextEdit widget function.
def test_clear_logtext(wind):
    
    (window, _) = wind
    checktab = window.central.checkWidget
    window.central.setCurrentWidget(checktab)
    text_edit = checktab.textEdit
    text_edit.insertPlainText('sometext')
    text_edit.clear_data()
    assert (text_edit.toPlainText() == )