Author: chrisz
Date: Tue Jan 11 10:02:46 2011
New Revision: 7203
URL: http://trac.turbogears.org/changeset/7203
Log:
Another small test adaption to CherryPy 3.2.
Modified:
branches/1.5/turbogears/tests/test_controllers.py
Modified: branches/1.5/turbogears/tests/test_controllers.py
==============================================================================
--- branches/1.5/turbogears/tests/test_controllers.py Tue Jan 11 09:37:21
2011 (r7202)
+++ branches/1.5/turbogears/tests/test_controllers.py Tue Jan 11 10:02:46
2011 (r7203)
@@ -264,15 +264,15 @@
@expose()
def redirect_to_path_str(self, path):
- raise redirect(path + '/index')
+ raise redirect(str(path) + '/index')
@expose()
def redirect_to_path_list(self, path):
- raise redirect([path, 'index'])
+ raise redirect([str(path), 'index'])
@expose()
def redirect_to_path_tuple(self, path):
- raise redirect((path, 'index'))
+ raise redirect((str(path), 'index'))
@expose()
def response_status_204_int(self):