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