- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 2,282 for test5 (0.06 sec)
-
cmd/utils_test.go
{[]string{"abcd/foo/bar/", "abcd/foo/bar/zoo"}, "abcd/foo/bar/"}, } for i, test := range testCases { foundPrefix := lcp(test.prefixes, true) if foundPrefix != test.commonPrefix { t.Fatalf("Test %d: Common prefix found: `%v`, expected: `%v`", i+1, foundPrefix, test.commonPrefix) } } } func TestGetMinioMode(t *testing.T) { testMinioMode := func(expected string) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Feb 23 21:28:14 UTC 2024 - 10.2K bytes - Viewed (0) -
docs/zh/docs/tutorial/testing.md
**FastAPI** 提供了和 `starlette.testclient` 一样的 `fastapi.testclient`,只是为了方便开发者。但它直接来自Starlette。 /// /// tip | "提示" 除了发送请求之外,如果你还想测试时在FastAPI应用中调用 `async` 函数(例如异步数据库函数), 可以在高级教程中看下 [Async Tests](../advanced/async-tests.md){.internal-link target=_blank} 。 /// ## 分离测试 在实际应用中,你可能会把你的测试放在另一个文件里。 您的**FastAPI**应用程序也可能由一些文件/模块组成等等。 ### **FastAPI** app 文件
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc
# Pass --config=nonpip to run the same suite of tests. If you want to run just # one test for investigation, you don't need --config=nonpip; just run the # bazel test invocation as normal. test:nonpip_filters --test_tag_filters=-no_oss,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only,-no_aarch64,-no_oss_py38,-no_oss_py39,-no_oss_py310
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Jul 12 20:16:57 UTC 2024 - 5.7K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/dag.txt
quarkus/extensions/mutiny/deployment/pom.xml quarkus/test-framework/junit5-internal/pom.xml quarkus/test-framework/h2/pom.xml quarkus/test-framework/common/pom.xml quarkus/integration-tests/jpa-postgresql/pom.xml quarkus/extensions/undertow/runtime/pom.xml quarkus/extensions/hibernate-orm/runtime/pom.xml quarkus/extensions/jdbc/jdbc-postgresql/runtime/pom.xml quarkus/test-framework/junit5/pom.xml
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 224K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial003.py
def test_post_files(tmp_path): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") path2 = tmp_path / "test2.txt" path2.write_bytes(b"<file content2>") client = TestClient(app) with path.open("rb") as file, path2.open("rb") as file2: response = client.post( "/files/", files=( ("files", ("test.txt", file)), ("files", ("test2.txt", file2)),
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 7.1K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/aarch64_clang.bazelrc
# Test-related settings below this point. test --build_tests_only --keep_going --test_output=errors --verbose_failures=true test --test_timeout=500,900,-1,-1 # Give only the list of failed tests at the end of the log test --test_summary=short # "nonpip" tests are regular py_test tests. # Pass --config=nonpip to run the same suite of tests. If you want to run just
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Jul 12 20:16:57 UTC 2024 - 6.2K bytes - Viewed (0) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
it.name != "distributions-integ-tests" && // distributions:integTest is part of Build Distributions it.name != "soak" // soak tests have their own test category } assertFalse(projectFoldersWithFunctionalTests.isEmpty()) projectFoldersWithFunctionalTests.forEach { assertTrue(projectDirsWithFunctionalTests.contains(it), "Contains functional tests: $it") } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 18 07:02:47 UTC 2024 - 13.4K bytes - Viewed (0) -
regression-test/README.md
... BUILD SUCCESSFUL in 1m 30s 63 actionable tasks: 61 executed, 2 up-to-date ```
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Nov 13 07:09:56 UTC 2020 - 2.5K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial003_an_py39.py
path = tmp_path / "test.txt" path.write_bytes(b"<file content>") path2 = tmp_path / "test2.txt" path2.write_bytes(b"<file content2>") client = TestClient(app) with path.open("rb") as file, path2.open("rb") as file2: response = client.post( "/files/", files=( ("files", ("test.txt", file)), ("files", ("test2.txt", file2)),
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 7.6K bytes - Viewed (0) -
build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jun 14 12:35:52 UTC 2023 - 10.6K bytes - Viewed (0)