@pytest.fixture(params=_generate_cmdline_tests(), ids=(lambda e: e.cmd))
def cmdline_test(request):
 import qutebrowser.app
 return request.param

@ pytest . fixture ( params = _generate_cmdline_tests ( ) , ids = ( lambda e : e . cmd ) ) def cmdline_test ( request ) : import qutebrowser . app return request . param
fixture which generates tests for things validating commandlines .