Flask - Testing Flask Applications
You want to test a Flask app that uses a database. Which sequence correctly sets up and cleans the test database for each test?
create_all() in setUp and drop_all() in tearDown is the correct pattern.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions