Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for street (7.12 sec)

  1. tests/test_security_oauth2_optional.py

    def test_security_oauth2_password_bearer_no_header():
        response = client.get("/users/me")
        assert response.status_code == 200, response.text
        assert response.json() == {"msg": "Create an account first"}
    
    
    def test_strict_login_no_data():
        response = client.post("/login")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  2. tests/test_security_oauth2.py

    def test_security_oauth2_password_bearer_no_header():
        response = client.get("/users/me")
        assert response.status_code == 403, response.text
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_strict_login_no_data():
        response = client.post("/login")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
    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