add test_cli_runner for testing app.cli commands

This commit is contained in:
David Lord 2018-02-19 15:34:46 -08:00
parent 79f34f1769
commit cf5525f98a
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
6 changed files with 140 additions and 12 deletions

View file

@ -188,6 +188,15 @@ Test Client
:members:
Test CLI Runner
---------------
.. currentmodule:: flask.testing
.. autoclass:: FlaskCliRunner
:members:
Application Globals
-------------------