- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 61 for apitesting (0.38 sec)
-
docs/tr/docs/advanced/testing-websockets.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon May 27 16:21:03 UTC 2024 - 471 bytes - Viewed (0) -
tests/test_tutorial/test_testing/test_main_b.py
from docs_src.app_testing.app_b import test_main def test_app(): test_main.test_create_existing_item() test_main.test_create_item() test_main.test_create_item_bad_token() test_main.test_read_nonexistent_item() test_main.test_read_item()
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 300 bytes - Viewed (0) -
docs/zh/docs/advanced/testing-websockets.md
# 测试 WebSockets 测试 WebSockets 也使用 `TestClient`。 为此,要在 `with` 语句中使用 `TestClient` 连接 WebSocket。 ```Python hl_lines="27-31" {!../../../docs_src/app_testing/tutorial002.py!} ``` !!! note "笔记"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Jan 28 18:12:29 UTC 2024 - 418 bytes - Viewed (0) -
tests/test_tutorial/test_testing/test_tutorial003.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Oct 18 12:36:40 UTC 2023 - 167 bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/framework_test.go
type testCall func(ctrl *PersistentVolumeController, reactor *pvtesting.VolumeReactor, test controllerTest) error const testNamespace = "default" const mockPluginName = "kubernetes.io/mock-volume" var novolumes []*v1.PersistentVolume var noclaims []*v1.PersistentVolumeClaim var noevents = []string{} var noerrors = []pvtesting.ReactorError{} type volumeReactor struct { *pvtesting.VolumeReactor ctrl *PersistentVolumeController }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 09:54:00 UTC 2023 - 38.3K bytes - Viewed (0) -
docs/de/docs/advanced/testing-websockets.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 20:17:48 UTC 2024 - 522 bytes - Viewed (0) -
tests/test_tutorial/test_testing/test_main_b_py310.py
from ...utils import needs_py310 @needs_py310 def test_app(): from docs_src.app_testing.app_b_py310 import test_main test_main.test_create_existing_item() test_main.test_create_item() test_main.test_create_item_bad_token() test_main.test_read_nonexistent_item() test_main.test_read_item()
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 357 bytes - Viewed (0) -
tests/test_tutorial/test_testing/test_main.py
from docs_src.app_testing.test_main import client, test_read_main def test_main(): test_read_main() def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/": { "get": {
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 819 bytes - Viewed (0) -
docs/zh/docs/advanced/testing-events.md
# 测试事件:启动 - 关闭 使用 `TestClient` 和 `with` 语句,在测试中运行事件处理器(`startup` 与 `shutdown`)。 ```Python hl_lines="9-12 20-24" {!../../../docs_src/app_testing/tutorial003.py!}
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Jan 28 18:21:02 UTC 2024 - 228 bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/provision_test.go
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" corelisters "k8s.io/client-go/listers/core/v1" "k8s.io/client-go/tools/cache" "k8s.io/component-helpers/storage/volume" api "k8s.io/kubernetes/pkg/apis/core" pvtesting "k8s.io/kubernetes/pkg/controller/volume/persistentvolume/testing" ) var class1Parameters = map[string]string{ "param1": "value1", } var class2Parameters = map[string]string{ "param2": "value2", }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 35.3K bytes - Viewed (0)