- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 278 for test_int (0.19 sec)
-
docs/zh/docs/advanced/testing-dependencies.md
对于这些用例,**FastAPI** 应用支持 `app.dependcy_overrides` 属性,该属性就是**字典**。 要在测试时覆盖原有依赖项,这个字典的键应当是原依赖项(函数),值是覆盖依赖项(另一个函数)。 这样一来,**FastAPI** 就会调用覆盖依赖项,不再调用原依赖项。 ```Python hl_lines="26-27 30" {!../../../docs_src/dependency_testing/tutorial001.py!} ``` !!! tip "提示" **FastAPI** 应用中的任何位置都可以实现覆盖依赖项。 原依赖项可用于*路径操作函数*、*路径操作装饰器*(不需要返回值时)、`.include_router()` 调用等。 FastAPI 可以覆盖这些位置的依赖项。
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 22:45:53 GMT 2024 - 1.9K bytes - Viewed (0) -
docs/em/docs/advanced/testing-dependencies.md
🔐 🔗 🔬, 👆 🚮 🔑 ⏮️ 🔗 (🔢), & 💲, 👆 🔗 🔐 (➕1️⃣ 🔢). & ⤴️ **FastAPI** 🔜 🤙 👈 🔐 ↩️ ⏮️ 🔗. ```Python hl_lines="28-29 32" {!../../../docs_src/dependency_testing/tutorial001.py!} ``` !!! tip 👆 💪 ⚒ 🔗 🔐 🔗 ⚙️ 🙆 👆 **FastAPI** 🈸. ⏮️ 🔗 💪 ⚙️ *➡ 🛠️ 🔢*, *➡ 🛠️ 👨🎨* (🕐❔ 👆 🚫 ⚙️ 📨 💲), `.include_router()` 🤙, ♒️. FastAPI 🔜 💪 🔐 ⚫️.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 1.8K bytes - Viewed (0) -
docs/em/docs/advanced/testing-database.md
# 🔬 💽 👆 💪 ⚙️ 🎏 🔗 🔐 ⚪️➡️ [🔬 🔗 ⏮️ 🔐](testing-dependencies.md){.internal-link target=_blank} 📉 💽 🔬. 👆 💪 💚 ⚒ 🆙 🎏 💽 🔬, 💾 💽 ⏮️ 💯, 🏤-🥧 ⚫️ ⏮️ 🔬 💽, ♒️. 👑 💭 ⚫️❔ 🎏 👆 👀 👈 ⏮️ 📃. ## 🚮 💯 🗄 📱 ➡️ ℹ 🖼 ⚪️➡️ [🗄 (🔗) 💽](../tutorial/sql-databases.md){.internal-link target=_blank} ⚙️ 🔬 💽. 🌐 📱 📟 🎏, 👆 💪 🚶 🔙 👈 📃 ✅ ❔ ⚫️. 🕴 🔀 📥 🆕 🔬 📁. 👆 😐 🔗 `get_db()` 🔜 📨 💽 🎉.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 2.6K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/performance-test-extensions.kt
).map { (key, value) -> os.escapeKeyValuePair(key, value) } const val individualPerformanceTestArtifactRules = """ testing/*/build/test-results-*.zip => results testing/*/build/tmp/**/log.txt => failure-logs testing/*/build/tmp/**/profile.log => failure-logs testing/*/build/tmp/**/daemon-*.out.log => failure-logs """ // to avoid pathname too long error fun BuildSteps.substDirOnWindows(os: Os) {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Apr 04 07:21:42 GMT 2024 - 3.8K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/RunTests.kt
/** * Returns a fixed set of test classes from testlist.txt, skipping any not found in the * current classpath. The IDE runs with less classes to avoid conflicting module ownership. */ fun testSelectors(inputFile: File? = null): List<DiscoverySelector> { val sampleTestClass = SampleTest::class.java val lines = inputFile?.readLines() ?: sampleTestClass.getResource("/testlist.txt").readText().lines() val flatClassnameList =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt
import org.gradle.api.logging.Logging import org.gradle.api.services.BuildService import org.gradle.api.services.BuildServiceParameters import org.gradle.api.tasks.testing.TestDescriptor import org.gradle.api.tasks.testing.TestListener import org.gradle.api.tasks.testing.TestResult import org.gradle.process.ExecOperations import org.slf4j.LoggerFactory import java.util.concurrent.ConcurrentHashMap import javax.inject.Inject
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Jan 08 12:45:57 GMT 2024 - 3.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SessionReuseTest.kt
import assertk.assertions.isEmpty import assertk.assertions.isNotEmpty import javax.net.ssl.SSLSocket import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import okhttp3.testing.Flaky import okhttp3.testing.PlatformRule import okhttp3.testing.PlatformVersion import okio.ByteString.Companion.toByteString import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Assertions.assertNotEquals
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 6K bytes - Viewed (0) -
.cm/summary_table.cm
- '/settings.gradle*' - 'gradle/shared-with-buildSrc/' - 'subprojects/internal-architecture-testing/' - 'subprojects/internal-build-reports/' - 'subprojects/internal-integ-testing/' - 'subprojects/internal-performance-testing/' - 'subprojects/internal-testing/' - core_configuration: name: 'core_configuration' subprojects: - 'platforms/core-configuration/'
Plain Text - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Thu Feb 08 15:20:44 GMT 2024 - 6.5K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.30.md
- Kubernetes is now built with Go 1.21.6 ([#122705](https://github.com/kubernetes/kubernetes/pull/122705), [@cpanato](https://github.com/cpanato)) [SIG Architecture, Release and Testing] - Kubernetes is now built with go 1.22rc2 ([#122889](https://github.com/kubernetes/kubernetes/pull/122889), [@cpanato](https://github.com/cpanato)) [SIG Release and Testing]
Plain Text - Registered: Fri May 03 09:05:14 GMT 2024 - Last Modified: Wed Apr 17 17:56:15 GMT 2024 - 227.9K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/aarch64_clang.bazelrc
build:sigbuild_remote_cache --remote_cache="https://storage.googleapis.com/tensorflow-devinfra-bazel-cache/manylinux2014" --remote_upload_local_results=false # Change the value of CACHEBUSTER when upgrading the toolchain, or when testing # different compilation methods. E.g. for a PR to test a new CUDA version, set # the CACHEBUSTER to the PR number. build --action_env=CACHEBUSTER=20220325 # Use Python 3.X as installed in container image
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Nov 21 12:25:39 GMT 2023 - 6.3K bytes - Viewed (0)