Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_strict_login_correct_data (0.24 sec)

  1. tests/test_security_oauth2_optional.py

                    "msg": "String should match pattern '^password$'",
                    "input": grant_type,
                    "ctx": {"pattern": "^password$"},
                }
            ]
        }
    
    
    def test_strict_login_correct_data():
        response = client.post(
            "/login",
            data={"username": "johndoe", "password": "secret", "grant_type": "password"},
        )
        assert response.status_code == 200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top