Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for test_zh (0.03 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java

                    + "</doc>";
    
            final ResponseData responseData = new ResponseData();
            responseData.setResponseBody(ResourceUtil.getResourceAsFile("extractor/test_ns.xml"), false);
            responseData.setCharSet(Constants.UTF_8);
            final ResultData resultData = xmlNsTransformer.transform(responseData);
            assertEquals(result, new String(resultData.getData(), Constants.UTF_8));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/testing.md

    これを使用すると、**FastAPI** と共に <a href="https://docs.pytest.org/" class="external-link" target="_blank">pytest</a> を直接利用できます。
    
    ## `TestClient` を使用
    
    `TestClient` をインポートします。
    
    `TestClient` を作成し、**FastAPI** に渡します。
    
    `test_` から始まる名前の関数を作成します (これは `pytest` の標準的なコンベンションです)。
    
    `httpx` と同じ様に `TestClient` オブジェクトを使用します。
    
    チェックしたい Python の標準的な式と共に、シンプルに `assert` 文を記述します。
    
    {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            assertEquals("test with tabs", escaped);
            assertFalse(escaped.contains("\t"));
        }
    
        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");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 15K bytes
    - Viewed (0)
  4. docs/uk/docs/tutorial/testing.md

    ```console
    $ pip install httpx
    ```
    
    ///
    
    Імпортуйте `TestClient`.
    
    Створіть `TestClient`, передавши йому Ваш застосунок **FastAPI**.
    
    Створюйте функції з іменами, що починаються з `test_` (це стандартна угода для `pytest`).
    
    Використовуйте об'єкт `TestClient` так само як і `httpx`.
    
    Записуйте прості `assert`-вирази зі стандартними виразами Python, які потрібно перевірити (це також стандарт для `pytest`).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 28 14:12:19 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. 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`).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/testing.md

    🤶 Ⓜ. `pip install httpx`.
    
    ///
    
    🗄 `TestClient`.
    
    ✍ `TestClient` 🚶‍♀️ 👆 **FastAPI** 🈸 ⚫️.
    
    ✍ 🔢 ⏮️ 📛 👈 ▶️ ⏮️ `test_` (👉 🐩 `pytest` 🏛).
    
    ⚙️ `TestClient` 🎚 🎏 🌌 👆 ⏮️ `httpx`.
    
    ✍ 🙅 `assert` 📄 ⏮️ 🐩 🐍 🧬 👈 👆 💪 ✅ (🔄, 🐩 `pytest`).
    
    {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *}
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/testing.md

    ```console
    $ pip install httpx
    ```
    
    ///
    
    Importe `TestClient`.
    
    Crie um `TestClient` passando seu aplicativo **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`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/testing.md

    Z. B. `pip install httpx`.
    
    ///
    
    Importieren Sie `TestClient`.
    
    Erstellen Sie einen `TestClient`, indem Sie ihm Ihre **FastAPI**-Anwendung übergeben.
    
    Erstellen Sie Funktionen mit einem Namen, der mit `test_` beginnt (das sind `pytest`-Konventionen).
    
    Verwenden Sie das `TestClient`-Objekt auf die gleiche Weise wie `httpx`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/testing.md

    Например, так: `pip install httpx`.
    
    ///
    
    Импортируйте `TestClient`.
    
    Создайте объект `TestClient`, передав ему в качестве параметра Ваше приложение **FastAPI**.
    
    Создайте функцию, название которой должно начинаться с `test_` (это стандарт из соглашений `pytest`).
    
    Используйте объект `TestClient` так же, как Вы используете `httpx`.
    
    Напишите простое утверждение с `assert` дабы проверить истинность Python-выражения (это тоже стандарт `pytest`).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. docs/pl/docs/index.md

    <small>* oszacowania bazowane na testach wykonanych przez wewnętrzny zespół deweloperów, budujących aplikacie używane na środowisku produkcyjnym.</small>
    
    ## Sponsorzy
    
    <!-- sponsors -->
    
    {% if sponsors %}
    {% for sponsor in sponsors.gold -%}
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 19.6K bytes
    - Viewed (0)
Back to top