We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b671ab commit d3cd6f5Copy full SHA for d3cd6f5
1 file changed
tests/test_response_mode.py
@@ -120,10 +120,10 @@ def send_get_request():
120
)
121
122
123
- # Verify the GET request shows welcome page (doesn't process auth code)
124
- # When no welcome_template is provided, an empty 200 response is returned
125
- self.assertEqual(response.status_code, 200, "GET request should return 200")
126
- # The key is that it doesn't set auth_response - the auth code is ignored
+ # Verify the GET request with auth code is rejected with 400
+ self.assertEqual(response.status_code, 400, "GET with auth code should be rejected")
+ self.assertIn("not supported", response.text.lower(),
+ "Error message should indicate GET is not supported")
127
128
receiver._scheduled_actions = [(1, send_get_request)]
129
0 commit comments