Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Fighters (0.03 sec)

  1. tests/test_tutorial/test_response_model/test_tutorial005.py

        assert response.json() == {"name": "Bar", "description": "The Bar fighters"}
    
    
    def test_read_item_public_data(client: TestClient):
        response = client.get("/items/bar/public")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Bar",
            "description": "The Bar fighters",
            "price": 62,
        }
    
    
    def test_openapi_schema(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_response_model/test_tutorial006.py

        assert response.json() == {"name": "Bar", "description": "The Bar fighters"}
    
    
    def test_read_item_public_data(client: TestClient):
        response = client.get("/items/bar/public")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Bar",
            "description": "The Bar fighters",
            "price": 62,
        }
    
    
    def test_openapi_schema(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_response_model/test_tutorial003.py

        client = TestClient(mod.app)
        return client
    
    
    def test_post_user(client: TestClient):
        response = client.post(
            "/user/",
            json={
                "username": "foo",
                "password": "fighter",
                "email": "******@****.***",
                "full_name": "Grave Dohl",
            },
        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "username": "foo",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_response_model/test_tutorial003_01.py

        client = TestClient(mod.app)
        return client
    
    
    def test_post_user(client: TestClient):
        response = client.post(
            "/user/",
            json={
                "username": "foo",
                "password": "fighter",
                "email": "******@****.***",
                "full_name": "Grave Dohl",
            },
        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "username": "foo",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top