Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for testBadPin (0.05 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt

        certificatePinner.check("anotherexample.co.uk", listOf(certB1.certificate))
        certificatePinner.check("foo.anotherexample.co.uk", listOf(certB1.certificate))
      }
    
      @Test
      fun testBadPin() {
        assertFailsWith<IllegalArgumentException> {
          CertificatePinner.Pin(
            "example.co.uk",
            "sha256/a",
          )
        }
      }
    
      @Test
      fun testBadAlgorithm() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/groovy/elasticsearch.authenticated-testclusters.gradle

    def clusterCredentials = [
            username: providers.systemProperty('tests.rest.cluster.username')
                    .forUseAtConfigurationTime()
                    .getOrElse('test_admin'),
            password: providers.systemProperty('tests.rest.cluster.password')
                    .forUseAtConfigurationTime()
                    .getOrElse('x-pack-test-password')
    ]
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 11:25:54 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_bigger_applications/test_main.py

        )
        assert response.status_code == 403, response.text
        assert response.json() == {"detail": "You can only update the item: plumbus"}
    
    
    def test_admin(client: TestClient):
        response = client.post(
            "/admin/?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 22.8K bytes
    - Click Count (0)
Back to Top