equal
deleted
inserted
replaced
14 # details. |
14 # details. |
15 # |
15 # |
16 # You should have received a copy of the GNU Lesser General Public License along |
16 # You should have received a copy of the GNU Lesser General Public License along |
17 # with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
17 # with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
18 """cubicweb.web.views.basecontrollers unit tests""" |
18 """cubicweb.web.views.basecontrollers unit tests""" |
19 |
|
20 from __future__ import with_statement |
|
21 |
19 |
22 from urlparse import urlsplit, urlunsplit, urljoin |
20 from urlparse import urlsplit, urlunsplit, urljoin |
23 # parse_qs is deprecated in cgi and has been moved to urlparse in Python 2.6 |
21 # parse_qs is deprecated in cgi and has been moved to urlparse in Python 2.6 |
24 try: |
22 try: |
25 from urlparse import parse_qs as url_parse_query |
23 from urlparse import parse_qs as url_parse_query |