Flask - Testing Flask Applications
Consider this Flask test snippet:
What will be printed?
def test_add_users(db):
user1 = User(name='John')
user2 = User(name='Jane')
db.session.add_all([user1, user2])
db.session.commit()
all_users = User.query.all()
print(len(all_users))What will be printed?
