Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 41 for test_zh (0.08 seconds)

  1. docs/uk/docs/tutorial/testing.md

    ```console
    $ pip install httpx
    ```
    
    ///
    
    Імпортуйте `TestClient`.
    
    Створіть `TestClient`, передавши йому ваш застосунок **FastAPI**.
    
    Створюйте функції з іменами, що починаються з `test_` (це стандартна угода для `pytest`).
    
    Використовуйте об'єкт `TestClient` так само як і `httpx`.
    
    Записуйте прості `assert`-вирази зі стандартними виразами Python, які потрібно перевірити (це також стандарт для `pytest`).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/testing.md

    ```console
    $ pip install httpx
    ```
    
    ///
    
    Import `TestClient`.
    
    Create a `TestClient` by passing your **FastAPI** application to it.
    
    Create functions with a name that starts with `test_` (this is standard `pytest` conventions).
    
    Use the `TestClient` object the same way as you do with `httpx`.
    
    Write simple `assert` statements with the standard Python expressions that you need to check (again, standard `pytest`).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/testing.md

    ```console
    $ pip install httpx
    ```
    
    ///
    
    Importe `TestClient`.
    
    Crie um `TestClient` passando sua aplicação **FastAPI** para ele.
    
    Crie funções com um nome que comece com `test_` (essa é a convenção padrão do `pytest`).
    
    Use o objeto `TestClient` da mesma forma que você faz com `httpx`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            assertEquals("test with tabs", escaped);
            assertFalse(escaped.contains("\t"));
        }
    
        @Test
        public void test_statsKeyObjectWithoutUrl() {
            StatsKeyObject key = new StatsKeyObject("test_id");
            crawlerStatsHelper.begin(key);
            crawlerStatsHelper.record(key, "action");
            crawlerStatsHelper.done(key);
    
            String[] values = localLogMsg.get().split("\t");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  5. docs/ja/docs/tutorial/testing.md

    [仮想環境](../virtual-environments.md) を作成し、それを有効化してから、例えば以下のようにインストールしてください:
    
    ```console
    $ pip install httpx
    ```
    
    ///
    
    `TestClient` をインポートします。
    
    `TestClient` を作成し、**FastAPI** に渡します。
    
    `test_` から始まる名前の関数を作成します (これは `pytest` の標準的なコンベンションです)。
    
    `httpx` と同じ様に `TestClient` オブジェクトを使用します。
    
    チェックしたい Python の標準的な式と共に、シンプルに `assert` 文を記述します (これも `pytest` の標準です)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  6. docs/fr/docs/tutorial/testing.md

    ```console
    $ pip install httpx
    ```
    
    ///
    
    Importez `TestClient`.
    
    Créez un `TestClient` en lui passant votre application **FastAPI**.
    
    Créez des fonctions dont le nom commence par `test_` (c’est la convention standard de `pytest`).
    
    Utilisez l’objet `TestClient` de la même manière que vous utilisez `httpx`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  7. docs/ko/docs/tutorial/testing.md

    [가상 환경](../virtual-environments.md)을 만들고, 활성화한 뒤 설치하세요. 예시:
    
    ```console
    $ pip install httpx
    ```
    
    ///
    
    `TestClient`를 임포트하세요.
    
    **FastAPI** 애플리케이션을 전달하여 `TestClient`를 만드세요.
    
    이름이 `test_`로 시작하는 함수를 만드세요(`pytest`의 표준적인 관례입니다).
    
    `httpx`를 사용하는 것과 같은 방식으로 `TestClient` 객체를 사용하세요.
    
    표준적인 파이썬 표현식으로 확인이 필요한 곳에 간단한 `assert` 문장을 작성하세요(역시 표준적인 `pytest` 관례입니다).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

                    org.codelibs.fess.crawler.entity.ResultData resultData) {
                // Initialize test access result
            }
    
            @Override
            public String getId() {
                return "test_id";
            }
    
            @Override
            public String getSessionId() {
                return "test_session";
            }
    
            @Override
            public String getRuleId() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  9. internal/bucket/lifecycle/lifecycle_test.go

    			prefix:      "",
    			want:        true,
    		},
    	}
    
    	for i, tc := range testCases {
    		t.Run(fmt.Sprintf("Test_%d", i+1), func(t *testing.T) {
    			lc, err := ParseLifecycleConfig(bytes.NewReader([]byte(tc.inputConfig)))
    			if err != nil {
    				t.Fatalf("Got unexpected error: %v", err)
    			}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
  10. lib/fips140/v1.26.0.zip

    []byte("PCT") sig := Sign(k, msg) // Note that this runs pub.a.SetBytes. If we wanted to make key generation // in FIPS mode faster, we could reuse A from GenerateKey. But another thing // that could make it faster is just _not doing a useless self-test_. pub, err := NewPublicKey(k.PublicKey()) if err != nil { return err } return Verify(pub, msg, sig) } func signWithoutSelfTest(priv *PrivateKey, message []byte) []byte { signature := make([]byte, signatureSize) return signWithDom(signature, priv, message,...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:32 GMT 2026
    - 660.3K bytes
    - Click Count (0)
Back to Top