- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 199 for test_2 (0.04 seconds)
-
src/test/java/jcifs/util/ResourceManagerTest.java
} @Test @DisplayName("Test managed resource wrapper") void testManagedResource() throws Exception { TestResource resource = new TestResource("test3"); try (ResourceManager.ManagedResource<TestResource> managed = resourceManager.manage(resource)) { assertNotNull(managed.get()); assertEquals("test3", managed.get().getName());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.9K bytes - Click Count (0) -
docs/en/docs/tutorial/testing.md
/// /// tip If you want to call `async` functions in your tests apart from sending requests to your FastAPI application (e.g. asynchronous database functions), have a look at the [Async Tests](../advanced/async-tests.md) in the advanced tutorial. /// ## Separating tests { #separating-tests } In a real application, you probably would have your tests in a different file.
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) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 30 16:30:48 GMT 2021 - 16.4K bytes - Click Count (0) -
docs/pt/docs/advanced/async-tests.md
# Testes Assíncronos { #async-tests } Você já viu como testar as suas aplicações **FastAPI** utilizando o `TestClient` que é fornecido. Até agora, você viu apenas como escrever testes síncronos, sem utilizar funções `async`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 4.3K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/async-tests.md
# 非同步測試 { #async-tests } 你已經看過如何使用提供的 `TestClient` 來測試你的 FastAPI 應用。到目前為止,你只看到如何撰寫同步測試,沒有使用 `async` 函式。 在測試中能使用非同步函式會很有用,例如當你以非同步方式查詢資料庫時。想像你想測試發送請求到 FastAPI 應用,然後在使用非同步資料庫函式庫時,驗證後端是否成功把正確資料寫入資料庫。 來看看怎麼做。 ## pytest.mark.anyio { #pytest-mark-anyio } 若要在測試中呼叫非同步函式,測試函式本身也必須是非同步的。AnyIO 為此提供了一個好用的外掛,讓我們可以標示某些測試函式以非同步方式執行。 ## HTTPX { #httpx } 即使你的 FastAPI 應用使用一般的 `def` 函式而非 `async def`,它在底層仍然是個 `async` 應用。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.5K bytes - Click Count (0) -
docs/uk/docs/advanced/async-tests.md
# Асинхронні тести { #async-tests } Ви вже бачили, як тестувати ваші застосунки **FastAPI** за допомогою наданого `TestClient`. До цього часу ви бачили лише, як писати синхронні тести, без використання функцій `async`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 5.9K bytes - Click Count (0) -
src/archive/zip/testdata/test.zip
test.txt This is a test text file. gophercolor16x16.png...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Sep 08 04:08:51 GMT 2014 - 1.1K bytes - Click Count (0) -
docs/ru/docs/advanced/async-tests.md
# Асинхронное тестирование { #async-tests } Вы уже видели как тестировать **FastAPI** приложение, используя имеющийся класс `TestClient`. К этому моменту вы видели только как писать тесты в синхронном стиле без использования `async` функций.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 6.2K bytes - Click Count (0) -
docs/iam/policies/pbac-tests.sh
mc admin policy attach myminio consoleAdmin --user minio123 mc mb -l myminio/test-bucket mc mb -l myminio/multi-key-poc export MC_HOST_myminio1="http://minio123:minio123@localhost:9000/" mc cp /etc/issue myminio1/test-bucket ret=$? if [ $ret -ne 0 ]; then echo "BUG: PutObject to bucket: test-bucket should succeed. Failed" exit 1 fi
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 25 01:15:27 GMT 2024 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
when(mockNotifyInfo1.getFileName()).thenReturn("test1.txt"); when(mockNotifyInfo2.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_MODIFIED); when(mockNotifyInfo2.getFileName()).thenReturn("test2.txt"); } @Test @DisplayName("Test NotifyResponse interface with empty notification list") void testNotifyResponseWithEmptyList() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0)