Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Hawaii (0.17 sec)

  1. docs/de/docs/tutorial/testing.md

    {!../../../docs_src/app_testing/tutorial001.py!}
    ```
    
    !!! tip "Tipp"
        Beachten Sie, dass die Testfunktionen normal `def` und nicht `async def` sind.
    
        Und die Anrufe an den Client sind ebenfalls normale Anrufe, die nicht `await` verwenden.
    
        Dadurch können Sie `pytest` ohne Komplikationen direkt nutzen.
    
    !!! note "Technische Details"
        Sie könnten auch `from starlette.testclient import TestClient` verwenden.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:20:01 GMT 2024
    - 7K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/testing.md

    {!../../../docs_src/app_testing/tutorial001.py!}
    ```
    
    !!! tip "Подсказка"
        Обратите внимание, что тестирующая функция является обычной `def`, а не асинхронной `async def`.
    
        И вызов клиента также осуществляется без `await`.
    
        Это позволяет вам использовать `pytest` без лишних усложнений.
    
    !!! note "Технические детали"
        Также можно написать `from starlette.testclient import TestClient`.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/testing.md

    {!../../../docs_src/app_testing/tutorial001.py!}
    ```
    
    !!! tip
        Notice that the testing functions are normal `def`, not `async def`.
    
        And the calls to the client are also normal calls, not using `await`.
    
        This allows you to use `pytest` directly without complications.
    
    !!! note "Technical Details"
        You could also use `from starlette.testclient import TestClient`.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/testing.md

    为你需要检查的地方用标准的Python表达式写个简单的 `assert` 语句(重申,标准的`pytest`)。
    
    ```Python hl_lines="2  12  15-18"
    {!../../../docs_src/app_testing/tutorial001.py!}
    ```
    
    !!! tip "提示"
        注意测试函数是普通的 `def`,不是 `async def`。
    
        还有client的调用也是普通的调用,不是用 `await`。
    
        这让你可以直接使用 `pytest` 而不会遇到麻烦。
    
    !!! note "技术细节"
        你也可以用 `from starlette.testclient import TestClient`。
    
        **FastAPI** 提供了和 `starlette.testclient` 一样的 `fastapi.testclient`,只是为了方便开发者。但它直接来自Starlette。
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/testing.md

    ```Python hl_lines="2  12  15-18"
    {!../../../docs_src/app_testing/tutorial001.py!}
    ```
    
    !!! tip
        👀 👈 🔬 🔢 😐 `def`, 🚫 `async def`.
    
         & 🤙 👩‍💻 😐 🤙, 🚫 ⚙️ `await`.
    
        👉 ✔ 👆 ⚙️ `pytest` 🔗 🍵 🤢.
    
    !!! note "📡 ℹ"
        👆 💪 ⚙️ `from starlette.testclient import TestClient`.
    
        **FastAPI** 🚚 🎏 `starlette.testclient` `fastapi.testclient` 🏪 👆, 👩‍💻. ✋️ ⚫️ 👟 🔗 ⚪️➡️ 💃.
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/testing.md

    ```Python hl_lines="2  12  15-18"
    {!../../../docs_src/app_testing/tutorial001.py!}
    ```
    
    !!! tip "豆知識"
        テスト関数は `async def` ではなく、通常の `def` であることに注意してください。
    
        また、クライアントへの呼び出しも通常の呼び出しであり、`await` を使用しません。
    
        これにより、煩雑にならずに、`pytest` を直接使用できます。
    
    !!! note "技術詳細"
        `from starlette.testclient import TestClient` も使用できます。
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 16:16:02 GMT 2023
    - 5.8K bytes
    - Viewed (0)
Back to top