@pytest.fixture(autouse=True)
def change_qapp_name(qapp):
 old_name = qapp.applicationName()
 qapp.setApplicationName('qute_test')
 (yield)
 qapp.setApplicationName(old_name)

@ pytest . fixture ( autouse = True ) def change_qapp_name ( qapp ) : old_name = qapp . applicationName ( ) qapp . setApplicationName ( 'qute_test' ) ( yield ) qapp . setApplicationName ( old_name )
change the name of the qapplication instance .