- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testBadPin (0.04 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 Dec 26 11:42:13 GMT 2025 - 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 Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 21.3K bytes - Click Count (0)