Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2151 - 2160 of 2,277 for Tests (0.04 seconds)

  1. tests/test_tutorial/test_background_tasks/test_tutorial002.py

    import importlib
    import os
    from pathlib import Path
    
    import pytest
    from fastapi.testclient import TestClient
    
    from tests.utils import needs_py310, workdir_lock
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002_py310", marks=needs_py310),
            pytest.param("tutorial002_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 10:53:47 GMT 2026
    - 968 bytes
    - Click Count (0)
  2. .ci/jobs.t/elastic+elasticsearch+pull-request+precommit.yml

                JAVA8_HOME=$HOME/.java/java8
                JAVA11_HOME=$HOME/.java/java11
          - shell: |
              #!/usr/local/bin/runbld --redirect-stderr
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 01 20:27:05 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  3. docs/ko/docs/how-to/testing-database.md

    [FastAPI에서 SQLModel을 사용하는 방법에 대한 미니 튜토리얼](https://sqlmodel.tiangolo.com/tutorial/fastapi/)도 있습니다. ✨
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 519 bytes
    - Click Count (0)
  4. .ci/jobs.t/elastic+elasticsearch+pull-request+bwc.yml

                JAVA11_HOME=$HOME/.java/java11
                JAVA15_HOME=$HOME/.java/openjdk15
          - shell: |
              #!/usr/local/bin/runbld --redirect-stderr
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Aug 05 17:48:16 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/tutorial/testing.md

    **FastAPI** 為了方便開發者,也提供與 `starlette.testclient` 相同的 `fastapi.testclient`。但它其實直接來自 Starlette。
    
    ///
    
    /// tip
    
    如果你想在測試中呼叫其他 `async` 函式,而不只是對 FastAPI 應用發送請求(例如非同步的資料庫函式),請參考進階教學中的[非同步測試](../advanced/async-tests.md)。
    
    ///
    
    ## 分離測試 { #separating-tests }
    
    在真實專案中,你大概會把測試放在不同的檔案中。
    
    你的 **FastAPI** 應用也可能由多個檔案/模組組成,等等。
    
    ### **FastAPI** 應用檔案 { #fastapi-app-file }
    
    假設你的檔案結構如[更大型的應用](bigger-applications.md)所述:
    
    ```
    .
    ├── app
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  6. CHANGELOG/CHANGELOG-1.9.md

        *   Added ARM64 release. Upgraded to CNI 0.6.0, added block device as Pod volume mode. Fixed CNI plugin compatibility.
        *   Passed all CRI validation conformance tests and node end-to-end conformance tests.
    *   [alpha] [rktlet](https://github.com/kubernetes-incubator/rktlet): CRI implementation for the rkt runtime is now v0.1.0. [[@iaguis](https://github.com/iaguis)]
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Nov 16 10:46:27 GMT 2021
    - 313.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

    import jcifs.SmbConstants;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.BaseContext;
    import jcifs.context.SingletonContext;
    
    /**
     * Integration tests for SmbFile using a real SMB server via Testcontainers.
     * These tests validate actual SMB protocol operations against dperson/samba:latest.
     */
    @Testcontainers
    @TestInstance(TestInstance.Lifecycle.PER_CLASS)
    @TestMethodOrder(MethodOrderer.MethodName.class)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.22.md

    - The conformance tests:
      - Services should serve multiport endpoints from pods
      - Services should serve a basic endpoint from pods
      were only validating the API objects, not performing any validation on the actual Services implementation.
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Dec 13 12:43:45 GMT 2022
    - 454.1K bytes
    - Click Count (0)
  9. tests/test_pydantic_v1_error.py

    import sys
    import warnings
    
    import pytest
    
    from tests.utils import skip_module_if_py_gte_314
    
    if sys.version_info >= (3, 14):
        skip_module_if_py_gte_314()
    
    from fastapi import FastAPI
    from fastapi.exceptions import PydanticV1NotSupportedError
    
    with warnings.catch_warnings():
        warnings.simplefilter("ignore", UserWarning)
        from pydantic.v1 import BaseModel
    
    
    def test_raises_pydantic_v1_model_in_endpoint_param() -> None:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

         * element. (https://en.wikipedia.org/wiki/Linear_probing#Analysis)
         *
         * <p>This method may return {@code true} even on truly random input, but {@code
         * ImmutableSetTest} tests that the probability of that is low.
         */
        static boolean hashFloodingDetected(@Nullable Object[] hashTable) {
          int maxRunBeforeFallback = maxRunBeforeFallback(hashTable.length);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
Back to Top