How To Test Code That Requires A Python Flask App Or Request Context

How To Test Code That Requires A Python Flask App Or Request Context