def test_no_loglines(request, quteproc_new):
 if request.config.webengine:
  pytest.skip('qute:log is not implemented with QtWebEngine yet')
 quteproc_new.start(args=(['--temp-basedir', '--loglines=0'] + _base_args(request.config)))
 quteproc_new.open_path('qute:log')
 assert (quteproc_new.get_content() == 'Log output was disabled.')

def test_no_loglines ( request , quteproc_new ) : if request . config . webengine : pytest . skip ( 'qute:log is not implemented with QtWebEngine yet' ) quteproc_new . start ( args = ( [ '--temp-basedir' , '--loglines=0' ] + _base_args ( request . config ) ) ) quteproc_new . open_path ( 'qute:log' ) assert ( quteproc_new . get_content ( ) == 'Log output was disabled.' )
test qute:log with --loglines=0 .