Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test_post_body_form_no_data (0.32 sec)

  1. tests/test_tutorial/test_request_forms/test_tutorial001.py

                        "loc": ["body", "username"],
                        "msg": "field required",
                        "type": "value_error.missing",
                    }
                ]
            }
        )
    
    
    def test_post_body_form_no_data(client: TestClient):
        response = client.post("/login/")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_forms/test_tutorial001_an.py

                        "loc": ["body", "username"],
                        "msg": "field required",
                        "type": "value_error.missing",
                    }
                ]
            }
        )
    
    
    def test_post_body_form_no_data(client: TestClient):
        response = client.post("/login/")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_request_forms/test_tutorial001_an_py39.py

                        "msg": "field required",
                        "type": "value_error.missing",
                    }
                ]
            }
        )
    
    
    @needs_py39
    def test_post_body_form_no_data(client: TestClient):
        response = client.post("/login/")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top