from sw import create_app def test_config(): assert not create_app().testing assert create_app({"TESTING": True}).testing def test_hello(client): response = client.post("/auth/login") assert response.status_code == 422