Hi Nick,

This one is not obvious... I put a note in the ticket about what I
think the solution is and set the milestone to 0.9.

You can also do a workaround... Something like this:

class Dummy:
    pass

oldrequest = None
oldresponse = None
def setup_module():
    global oldrequest
    global oldresponse
    cherrypy.response = Dummy()
    cherrypy.request = Dummy()

def teardown_module():
    cherrypy.request = oldrequest
    cherrypy.response = oldresponse

This is, essentially, what I was thinking we could do in util.call...

Kevin

On 11/4/05, sindpipermidi <[EMAIL PROTECTED]> wrote:
>
> Hi Kevin,
>
> We're evaluating TG and are looking on how we can develop our web app
> test-first. In writing our first tests, we ran into this issue. We
> found back this bug in trac, it's ticket number 70.
>
> Can you comment on when this issue will be fixed? Will it be fixed in
> 0.9 or 1.0? Is there a way we could help? We had a quick look into the
> code itself, but it didn't seem obvious for us ;)
>
> Regards,
> Nick.
>
>


--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to