- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for test_head (0.1 sec)
-
tests/test_extra_routes.py
response = client.request("DELETE", "/items/foo", json={"name": "Foo"}) assert response.status_code == 200, response.text assert response.json() == {"item_id": "foo", "item": {"name": "Foo", "price": None}} def test_head(): response = client.head("/items/foo") assert response.status_code == 200, response.text assert response.headers["x-fastapi-item-id"] == "foo" def test_options():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 13.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
import junit.framework.AssertionFailedError; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a * test with reference to the same "lock-like object", and then their interactions with that object * are choreographed via the various methods on this class. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
import junit.framework.AssertionFailedError; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a * test with reference to the same "lock-like object", and then their interactions with that object * are choreographed via the various methods on this class. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 11.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java
} try (final ResponseData responseData = s3Client.doGet("")) { fail(); } catch (CrawlerSystemException e) { // nothing } } public void test_doHead() throws Exception { try (final ResponseData responseData = s3Client.doHead("s3://fess/file1.txt")) { assertEquals("s3://fess/file1.txt", responseData.getUrl());Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 07:57:44 UTC 2025 - 20.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java
} try (final ResponseData responseData = gcsClient.doGet("")) { fail(); } catch (CrawlerSystemException e) { // nothing } } public void test_doHead() throws Exception { try (final ResponseData responseData = gcsClient.doHead("gcs://fess/file1.txt")) { assertEquals("gcs://fess/file1.txt", responseData.getUrl());Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 19.6K bytes - Viewed (0)