Flask - Testing Flask Applications
What is wrong with this Flask test code snippet for login?
response = client.post('/login', json={'username': 'user', 'password': 'pass'})