@pytest.fixture(params=('browse', 'translate'))
def view_types(request):
 return request.param

@ pytest . fixture ( params = ( 'browse' , 'translate' ) ) def view_types ( request ) : return request . param
list of possible view types .