Can someone help me mock the @auth.requires decorator to test controllers.

27 views
Skip to first unread message

Aishwarya Seeram

unread,
Feb 24, 2017, 2:53:26 AM2/24/17
to web.py
I'm trying to mock the auth decorator. The return type of the decorator is the controller function, itself. Can someone who've tried it let me know how it's done.
Reply all
Reply to author
Forward
0 new messages