- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 403 for Snapshot (0.16 sec)
-
tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py
from fastapi.testclient import TestClient from inline_snapshot import snapshot from docs_src.behind_a_proxy.tutorial003_py39 import app client = TestClient(app) def test_main(): response = client.get("/app") assert response.status_code == 200 assert response.json() == {"message": "Hello World", "root_path": "/api/v1"} def test_openapi_schema(): response = client.get("/openapi.json")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 1.5K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java
} @Test void gregorianCalendarIsUsed() { String dateBefore = gregorianDate(); RemoteSnapshotMetadata metadata = new RemoteSnapshotMetadata(new DefaultArtifact("a:b:1-SNAPSHOT"), new Date(), null); metadata.merge(new Metadata()); String dateAfter = gregorianDate(); String ts = metadata.metadata.getVersioning().getSnapshot().getTimestamp();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial004.py
import importlib import pytest from fastapi.testclient import TestClient from inline_snapshot import snapshot from ...utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial004_py39"), pytest.param("tutorial004_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.response_model.{request.param}")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 5.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/module-path-not-artifactId-expected.xml
<modelVersion>4.0.0</modelVersion> <parent> <groupId>inheritance</groupId> <artifactId>parent</artifactId> <version>11-SNAPSHOT</version> </parent> <groupId>inheritance</groupId> <artifactId>child-artifact-id</artifactId> <version>11-SNAPSHOT</version> <name>Model inheritance test parent: module directory != artifactId</name> <description> artifactId == "child-artifact-id"
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolver.java
* @since 4.0.0 */ @Experimental @Consumer public interface VersionResolver extends Service { /** * Resolves an artifact's meta version (if any) to a concrete version. * For example, resolves "1.0-SNAPSHOT" to "1.0-20090208.132618-23". * * @param session The repository session, must not be {@code null}.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 2.5K bytes - Viewed (0) -
.teamcity/settings.kts
| |---- QuickFeedback | |---- ... | |---- ReadyForRelease | |----- Promotion (buildTypeId: Gradle_Master_Promotion) | |----- Nightly Snapshot | |----- ... | |----- Util |----- WarmupEc2Agent |----- AdHocPerformanceTest Release (buildTypeId: Gradle_Release) |----- Check (buildTypeId: Gradle_Release_Check)
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Aug 14 07:58:26 UTC 2025 - 1.2K bytes - Viewed (0) -
tests/test_schema_ref_pydantic_v2.py
from typing import Any import pytest from fastapi import FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel, ConfigDict, Field @pytest.fixture(name="client") def get_client(): app = FastAPI() class ModelWithRef(BaseModel): ref: str = Field(validation_alias="$ref", serialization_alias="$ref")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/AbstractCacheTest.java
assertThat(invalidated).isEqualTo(toInvalidate); } public void testEmptySimpleStats() { StatsCounter counter = new SimpleStatsCounter(); CacheStats stats = counter.snapshot(); assertThat(stats.requestCount()).isEqualTo(0); assertThat(stats.hitCount()).isEqualTo(0); assertThat(stats.hitRate()).isEqualTo(1.0); assertThat(stats.missCount()).isEqualTo(0);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 6.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java
* This controls whether to search in release repositories, snapshot repositories, or both. * * @since 4.0.0 */ enum Nature { /** * Query only release repositories to discover versions. */ RELEASE, /** * Query only snapshot repositories to discover versions. */ SNAPSHOT, /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 10.4K bytes - Viewed (0) -
tests/test_top_level_security_scheme_in_openapi.py
# Ref: https://github.com/fastapi/fastapi/issues/14271 from fastapi import Depends, FastAPI from fastapi.security import HTTPBearer from fastapi.testclient import TestClient from inline_snapshot import snapshot app = FastAPI() bearer_scheme = HTTPBearer() @app.get("/", dependencies=[Depends(bearer_scheme)]) async def get_root(): return {"message": "Hello, World!"} client = TestClient(app)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 1.9K bytes - Viewed (0)