Changeset 734
- Timestamp:
- 10/10/05 22:41:41
- Files:
-
- trunk/cherrypy/_cphttptools.py (modified) (1 diff)
- trunk/cherrypy/test/test.py (modified) (1 diff)
- trunk/cherrypy/test/test_xmlrpc_filter.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/_cphttptools.py
r728 r734 512 512 body = flattener(body) 513 513 elif isinstance(body, basestring): 514 # strings get wrapped in a list because iterating over a single 515 # item list is much faster than iterating over every character 516 # in a long string. 514 517 body = [body] 515 518 elif body is None: trunk/cherrypy/test/test.py
r730 r734 345 345 'test_virtualhost_filter', 346 346 'test_session_filter', 347 'test_sessionauthenticate_filter', 347 348 'test_xmlrpc_filter', 348 349 ] trunk/cherrypy/test/test_xmlrpc_filter.py
r730 r734 74 74 return_boolean.exposed = True 75 75 76 def test_argument_passing(self, num): 77 return num * 2 78 test_argument_passing.exposed = True 79 76 80 cherrypy.root = Root() 77 81 cherrypy.root.xmlrpc = XmlRpc() … … 124 128 True 125 129 ) 130 self.assertEqual(proxy.test_argument_passing(22), 131 22 * 2 132 ) 126 133 127 134

