Excuse me. May be I'm stupid, but I don't understand how to test next case. I want to test that a response.status really has 303.
Bit of my code: def show(): if request.args(0) == None: redirect(URL('index')) How should I write a doctest for this?
Excuse me. May be I'm stupid, but I don't understand how to test next case. I want to test that a response.status really has 303.
Bit of my code: def show(): if request.args(0) == None: redirect(URL('index')) How should I write a doctest for this?