How to Solve NameError: name 'FlaskTestCase' is not defined -- flask
Solution: Import the 'FlaskTestCase' module
# Add the following line to the top of your code
from flask.testsuite import FlaskTestCase
For more information:
flask FlaskTestCase