Instead of importing the view functions, you should create a so called test client , e.g. as a pytest fixture. For my last Flask app this looked ...
確定! 回上一頁