Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 72 for testapp (0.07 sec)

  1. 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.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/unit/UnitFessTestCase.java

    import org.dbflute.utflute.lastaflute.WebContainerTestCase;
    
    public abstract class UnitFessTestCase extends WebContainerTestCase {
        @Override
        protected String prepareConfigFile() {
            return "test_app.xml";
        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. docs/pt/docs/features.md

    ### Testado
    
    * 100% <abbr title="A quantidade de código que é testada automaticamente">de cobertura de testes</abbr>.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. 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 Map<K, V> delegate;
    
        public TestMap(Map<K, V> delegate, Object mutex) {
          checkNotNull(mutex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. okcurl/build.gradle.kts

      api(projects.okhttp)
      api(projects.loggingInterceptor)
      api(libs.squareup.okio)
      implementation(libs.clikt)
      api(libs.guava.jre)
    
      testImplementation(projects.okhttpTestingSupport)
      testApi(libs.assertk)
      testImplementation(kotlin("test"))
    }
    
    animalsniffer {
      isIgnoreFailures = true
    }
    
    tasks.jar {
      manifest {
        attributes("Automatic-Module-Name" to "okhttp3.curl")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. istioctl/pkg/kubeinject/testdata/deployment/hello.yaml.iop.injected

              name: http
            resources: {}
          - image: docker.io/istio/proxy_debug:unittest
            name: istio-proxy
            resources: {}
          initContainers:
          - image: docker.io/istio/proxy_init:unittest-testiop
            name: istio-init
            resources: {}
    status: {}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/testing-websockets.md

    # Testando WebSockets
    
    Você pode usar o mesmo `TestClient` para testar WebSockets.
    
    Para isso, você utiliza o `TestClient` dentro de uma instrução `with`, conectando com o WebSocket:
    
    ```Python hl_lines="27-31"
    {!../../docs_src/app_testing/tutorial002.py!}
    ```
    
    /// note | "Nota"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 488 bytes
    - Viewed (0)
  8. tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py

    
    def test_redoc_html(client: TestClient):
        response = client.get("/redoc")
        assert response.status_code == 200, response.text
        assert "/static/redoc.standalone.js" in response.text
    
    
    def test_api(client: TestClient):
        response = client.get("/users/john")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/RangeTest.java

        assertEquals(CLOSED, range.upperBoundType());
        assertFalse(range.isEmpty());
        assertEquals("(-\u221e..4]", range.toString());
        reserializeAndAssert(range);
      }
    
      public void testAll() {
        Range<Integer> range = Range.all();
        assertTrue(range.contains(Integer.MIN_VALUE));
        assertTrue(range.contains(Integer.MAX_VALUE));
        assertUnboundedBelow(range);
        assertUnboundedAbove(range);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py

    def test_redoc_html(client: TestClient):
        response = client.get("/redoc")
        assert response.status_code == 200, response.text
        assert "https://unpkg.com/redoc@next/bundles/redoc.standalone.js" in response.text
    
    
    def test_api(client: TestClient):
        response = client.get("/users/john")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top