- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 23 for test_app (0.05 seconds)
-
tests/test_openapi_servers.py
}, {"url": "https://prod.example.com"}, ] ) @app.get("/foo") def foo(): return {"message": "Hello World"} client = TestClient(app) def test_app(): response = client.get("/foo") assert response.status_code == 200, response.text def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.textCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 1.7K bytes - Click Count (0) -
docs_src/settings/app02_an_py310/test_main.py
client = TestClient(app) def get_settings_override(): return Settings(admin_email="******@****.***") app.dependency_overrides[get_settings] = get_settings_override def test_app(): response = client.get("/info") data = response.json() assert data == { "app_name": "Awesome API", "admin_email": "******@****.***", "items_per_user": 50,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 515 bytes - Click Count (0) -
docs_src/settings/app02_py310/test_main.py
client = TestClient(app) def get_settings_override(): return Settings(admin_email="******@****.***") app.dependency_overrides[get_settings] = get_settings_override def test_app(): response = client.get("/info") data = response.json() assert data == { "app_name": "Awesome API", "admin_email": "******@****.***", "items_per_user": 50,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 515 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/unit/UnitFessTestCase.java
import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.TestInfo; public abstract class UnitFessTestCase extends WebContainerTestCase { @Override protected String prepareConfigFile() { return "test_app.xml"; } @Override protected void tearDown(TestInfo testInfo) throws Exception { ComponentUtil.setFessConfig(null); super.tearDown(testInfo); } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 3.3K bytes - Click Count (0) -
tensorflow/c/BUILD
"//tensorflow/core:test", "//tensorflow/core:test_main", ], ) tf_custom_op_library( name = "test_op1.so", srcs = ["test_op1.cc"], ) tf_kernel_library( name = "test_op_kernel", srcs = ["test_op.cc"], deps = [ "//tensorflow/core:framework", "//tensorflow/core:lib", ], alwayslink = 1, )Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Feb 17 18:49:14 GMT 2026 - 30.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java
return super.setValue(value); } private static final long serialVersionUID = 0; } static class TestMap<K, V> extends SynchronizedMapTest.TestMap<K, V> implements NavigableMap<K, V> { public TestMap(NavigableMap<K, V> delegate, Object mutex) { super(delegate, mutex); } @Override protected NavigableMap<K, V> delegate() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 12.8K bytes - Click Count (0) -
compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Unit test for simple App. */ public class AppTest { /** * Rigourous Test :-) */ @Test public void testApp() { assertTrue(true); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 09 14:29:03 GMT 2026 - 1.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
protected <K, V> Map<K, V> create() { TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex); Map<K, V> outer = Synchronized.map(inner, mutex); return outer; } static class TestMap<K, V> extends ForwardingMap<K, V> implements Serializable { public final Object mutex; private final Map<K, V> delegate; public TestMap(Map<K, V> delegate, Object mutex) { checkNotNull(mutex);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6K bytes - Click Count (0) -
android-test-app/build.gradle.kts
@file:Suppress("UnstableApiUsage") import okhttp3.buildsupport.testJavaVersion plugins { id("okhttp.base-conventions") id("com.android.application") } android { compileSdk = 36 namespace = "okhttp.android.testapp" // Release APKs can't be tested currently with AGP testBuildType = "debug" defaultConfig { minSdk = 21 targetSdk = 36 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Feb 07 06:56:34 GMT 2026 - 1.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
protected <K, V> Map<K, V> create() { TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex); Map<K, V> outer = Synchronized.map(inner, mutex); return outer; } static class TestMap<K, V> extends ForwardingMap<K, V> implements Serializable { public final Object mutex; private final Map<K, V> delegate; public TestMap(Map<K, V> delegate, Object mutex) { checkNotNull(mutex);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6K bytes - Click Count (0)