def test_check_tab(wind, ttorrent, dir1):
    'Test checker procedure.'
    (window, _) = wind
    checktab = window.central.checkWidget
    window.central.setCurrentWidget(checktab)
    checktab.fileInput.setText(ttorrent)
    checktab.searchInput.setText(dir1)
    checktab.checkButton.click()
    assert (checktab.textEdit.toPlainText() != '')
Test checker procedure.
def test_check_tab(wind, ttorrent, dir1):
    
    (window, _) = wind
    checktab = window.central.checkWidget
    window.central.setCurrentWidget(checktab)
    checktab.fileInput.setText(ttorrent)
    checktab.searchInput.setText(dir1)
    checktab.checkButton.click()
    assert (checktab.textEdit.toPlainText() != )