Why am I unable to pass a unit test with function that contains a @login_required in python?

前端 未结 0 1267
抹茶落季
抹茶落季 2021-01-14 09:39

I am writing a unit test for a function in my python flask and the function contains a @login_required. I am only trying to check whether the function is being called proper

相关标签:
回答
  • 消灭零回复
提交回复
热议问题