- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 417 for c2test (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs_src/async_tests/app_a_py39/test_main.py
import pytest from httpx import ASGITransport, AsyncClient from .main import app @pytest.mark.anyio async def test_root(): async with AsyncClient( transport=ASGITransport(app=app), base_url="http://test" ) as ac: response = await ac.get("/") assert response.status_code == 200
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 360 bytes - Click Count (0) -
requirements-tests.txt
-e .[all] -r requirements-docs-tests.txt pytest >=7.1.3,<9.0.0 coverage[toml] >= 6.5.0,< 8.0 mypy ==1.14.1 dirty-equals ==0.9.0 sqlmodel==0.0.27 flask >=1.1.2,<4.0.0 strawberry-graphql >=0.200.0,< 1.0.0 anyio[trio] >=3.2.1,<5.0.0 PyJWT==2.9.0 pyyaml >=5.3.1,<7.0.0 pwdlib[argon2] >=0.2.1 inline-snapshot>=0.21.1 pytest-codspeed==4.2.0 # types types-ujson ==5.10.0.20240515
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 394 bytes - Click Count (0) -
tests/test_tutorial/test_request_files/test_tutorial001_03.py
import importlib import pytest from fastapi.testclient import TestClient @pytest.fixture( name="client", params=[ "tutorial001_03_py39", "tutorial001_03_an_py39", ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.request_files.{request.param}") client = TestClient(mod.app) return client
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.2K bytes - Click Count (0) -
.github/workflows/upgrade-ci-cd.yaml
strategy: matrix: go-version: [1.24.x] os: [ubuntu-latest] steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} check-latest: true - name: Start upgrade tests run: |Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 729 bytes - Click Count (0) -
tests/test_tutorial/test_request_form_models/test_tutorial002.py
import importlib import pytest from fastapi.testclient import TestClient @pytest.fixture( name="client", params=[ "tutorial002_py39", "tutorial002_an_py39", ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.request_form_models.{request.param}") client = TestClient(mod.app) return client def test_post_body_form(client: TestClient):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 6.2K bytes - Click Count (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")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 2.1K bytes - Click Count (0) -
tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py
import os from pathlib import Path import pytest from fastapi.testclient import TestClient @pytest.fixture(scope="module") def client(): static_dir: Path = Path(os.getcwd()) / "static" print(static_dir) static_dir.mkdir(exist_ok=True) from docs_src.custom_docs_ui.tutorial002_py39 import app with TestClient(app) as client: yield client static_dir.rmdir()
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.2K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt
import org.gradle.api.tasks.TaskAction import org.gradle.api.tasks.UntrackedTask import org.gradle.util.internal.VersionNumber import org.jetbrains.annotations.VisibleForTesting /** * Fetch the latest Kotlin versions and write a properties file. * Never up-to-date, non-cacheable. */ @UntrackedTask(because = "Not worth tracking") abstract class UpdateKotlinVersions : AbstractVersionsUpdateTask() { @get:Internal
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Oct 29 08:29:55 GMT 2025 - 4.3K bytes - Click Count (0) -
.teamcity/performance-test-durations.json
"durations" : [ { "testProject" : "createLotsOfTasks", "linux" : 216 } ] }, { "scenario" : "org.gradle.performance.regression.corefeature.VerboseTestOutputPerformanceTest.cleanTest test with verbose test output", "durations" : [ { "testProject" : "withVerboseJUnit", "linux" : 207 }, { "testProject" : "withVerboseTestNG", "linux" : 198 } ] }, {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 25 10:54:09 GMT 2025 - 25K bytes - Click Count (0) -
tests/test_stringified_annotation_dependency.py
from __future__ import annotations from typing import TYPE_CHECKING, Annotated import pytest from fastapi import Depends, FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot if TYPE_CHECKING: # pragma: no cover from collections.abc import AsyncGenerator class DummyClient: async def get_people(self) -> list: return ["John Doe", "Jane Doe"] async def close(self) -> None:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2.2K bytes - Click Count (0)