Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2131 - 2140 of 2,277 for Tests (0.07 seconds)

  1. docs/ru/docs/advanced/testing-events.md

    
    Вы можете узнать больше подробностей в статье [Запуск lifespan в тестах на официальном сайте документации Starlette.](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)
    
    Для устаревших событий `startup` и `shutdown` вы можете использовать `TestClient` следующим образом:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 904 bytes
    - Click Count (0)
  2. docs/uk/docs/advanced/testing-events.md

    Ви можете прочитати більше у [«Запуск тривалості життя у тестах на офіційному сайті документації Starlette.»](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)
    
    Для застарілих подій `startup` і `shutdown` ви можете використовувати `TestClient` так:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:43:14 GMT 2026
    - 892 bytes
    - Click Count (0)
  3. tests/test_tutorial/test_background_tasks/test_tutorial001.py

    import os
    from pathlib import Path
    
    from fastapi.testclient import TestClient
    
    from docs_src.background_tasks.tutorial001_py310 import app
    from tests.utils import workdir_lock
    
    client = TestClient(app)
    
    
    @workdir_lock
    def test():
        log = Path("log.txt")
        if log.is_file():
            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/******@****.***")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 10:53:47 GMT 2026
    - 635 bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableBiMap.java

        }
    
        @Override
        @VisibleForTesting
        ImmutableBiMap<K, V> buildJdkBacked() {
          checkState(
              valueComparator == null,
              "buildJdkBacked is for tests only, doesn't support orderEntriesByValue");
          switch (size) {
            case 0:
              return of();
            case 1:
              // requireNonNull is safe because the first `size` elements have been filled in.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  5. docs/tr/docs/tutorial/testing.md

    FastAPI uygulamanıza request göndermenin dışında testlerinizde `async` fonksiyonlar çağırmak istiyorsanız (örn. asenkron veritabanı fonksiyonları), ileri seviye bölümdeki [Asenkron Testler](../advanced/async-tests.md) dokümanına göz atın.
    
    ///
    
    ## Testleri Ayırma { #separating-tests }
    
    Gerçek bir uygulamada testlerinizi büyük ihtimalle farklı bir dosyada tutarsınız.
    
    Ayrıca **FastAPI** uygulamanız birden fazla dosya/modül vb. ile de oluşturulmuş olabilir.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  6. docs/ja/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:07:17 GMT 2026
    - 533 bytes
    - Click Count (0)
  7. docs/uk/docs/how-to/testing-database.md

    Є невеликий [навчальний посібник про використання SQLModel з FastAPI](https://sqlmodel.tiangolo.com/tutorial/fastapi/). ✨
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 588 bytes
    - Click Count (0)
  8. .ci/jobs.t/elastic+elasticsearch+pull-request+docs-check.yml

                JAVA11_HOME=$HOME/.java/java11
                RUNTIME_JAVA_HOME=$HOME/.java/$ES_RUNTIME_JAVA
          - 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)
  9. guava/src/com/google/common/cache/CacheBuilder.java

       */
      @GwtIncompatible // To be supported
      public static CacheBuilder<Object, Object> from(String spec) {
        return from(CacheBuilderSpec.parse(spec));
      }
    
      /**
       * Enables lenient parsing. Useful for tests and spec parsing.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
       */
      @GwtIncompatible // To be supported
      @CanIgnoreReturnValue
      CacheBuilder<K, V> lenientParsing() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 51.7K bytes
    - Click Count (0)
  10. .ci/jobs.t/elastic+elasticsearch+pull-request+rest-compatibility.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 Jul 01 20:27:05 GMT 2021
    - 1.5K bytes
    - Click Count (0)
Back to Top