- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testBadPin (0.05 seconds)
-
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) -
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.textCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 22.8K bytes - Click Count (0)