Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_strict_login_correct_grant_type (0.35 sec)

  1. tests/test_security_oauth2.py

                        "type": "value_error.str.regex",
                        "ctx": {"pattern": "password"},
                    }
                ]
            }
        )
    
    
    def test_strict_login_correct_grant_type():
        response = client.post(
            "/login",
            data={"username": "johndoe", "password": "secret", "grant_type": "password"},
        )
        assert response.status_code == 200
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
Back to top