cubicweb/pyramid/test/test_hooks.py
changeset 12603 616d65b2dd8a
parent 12567 26744ad37953
equal deleted inserted replaced
12602:2beda828c1bf 12603:616d65b2dd8a
     1 from cubicweb.pyramid.test import PyramidCWTest
     1 from cubicweb.pyramid.test import PyramidCWTest
     2 from cubicweb.pyramid import tools
       
     3 
     2 
     4 
     3 
     5 def set_language(request):
     4 def set_language(request):
     6     lang = request.POST.get('lang', None)
     5     lang = request.POST.get('lang', None)
     7     cnx = request.cw_cnx
     6     cnx = request.cw_cnx