Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 297 for testInt (0.2 sec)

  1. docs/ru/docs/tutorial/testing.md

    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py310/main.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an/main.py!}
        ```
    
    === "Python 3.10+ без Annotated"
    
        !!! tip "Подсказка"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/testing.md

    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py310/main.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an/main.py!}
        ```
    
    === "Python 3.10+ nicht annotiert"
    
        !!! tip "Tipp"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:20:01 GMT 2024
    - 7K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/testing-websockets.md

    # 测试 WebSockets
    
    测试 WebSockets 也使用 `TestClient`。
    
    为此,要在 `with` 语句中使用 `TestClient` 连接 WebSocket。
    
    ```Python hl_lines="27-31"
    {!../../../docs_src/app_testing/tutorial002.py!}
    ```
    
    !!! note "笔记"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jan 28 18:12:29 GMT 2024
    - 418 bytes
    - Viewed (0)
  4. docs/de/docs/advanced/testing-websockets.md

    # WebSockets testen
    
    Sie können den schon bekannten `TestClient` zum Testen von WebSockets verwenden.
    
    Dazu verwenden Sie den `TestClient` in einer `with`-Anweisung, eine Verbindung zum WebSocket herstellend:
    
    ```Python hl_lines="27-31"
    {!../../../docs_src/app_testing/tutorial002.py!}
    ```
    
    !!! note "Hinweis"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:48 GMT 2024
    - 522 bytes
    - Viewed (0)
  5. docs/de/docs/advanced/testing-events.md

    # Events testen: Hochfahren – Herunterfahren
    
    Wenn Sie in Ihren Tests Ihre Event-Handler (`startup` und `shutdown`) ausführen wollen, können Sie den `TestClient` mit einer `with`-Anweisung verwenden:
    
    ```Python hl_lines="9-12  20-24"
    {!../../../docs_src/app_testing/tutorial003.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:40 GMT 2024
    - 291 bytes
    - Viewed (0)
  6. docs/em/docs/advanced/testing-events.md

    # 🔬 🎉: 🕴 - 🤫
    
    🕐❔ 👆 💪 👆 🎉 🐕‍🦺 (`startup` & `shutdown`) 🏃 👆 💯, 👆 💪 ⚙️ `TestClient` ⏮️ `with` 📄:
    
    ```Python hl_lines="9-12  20-24"
    {!../../../docs_src/app_testing/tutorial003.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 248 bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/testing.md

    所有*路径操作* 都需要一个`X-Token` 头。
    
    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py310/main.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an/main.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip "提示"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/testing.md

    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b/main.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_py310/main.py!}
        ```
    
    ### ↔ 🔬 📁
    
    👆 💪 ⤴️ ℹ `test_main.py` ⏮️ ↔ 💯:
    
    ```Python
    {!> ../../../docs_src/app_testing/app_b/test_main.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/testing.md

    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_py310/main.py!}
        ```
    
    === "Python 3.6+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b/main.py!}
        ```
    
    ### 拡張版テストファイル
    
    次に、先程のものに拡張版のテストを加えた、`test_main_b.py` を作成します。
    
    ```Python
    {!> ../../../docs_src/app_testing/app_b/test_main.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 16:16:02 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/testing.md

    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py310/main.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an/main.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top