- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 461 for cover (0.2 sec)
-
tests/test_ws_router.py
pass # pragma: no cover async def ws_dependency_validate(x_missing: str = Header()): pass # pragma: no cover @router.websocket("/depends-validate/") async def router_ws_depends_validate( websocket: WebSocket, data=Depends(ws_dependency_validate) ): pass # pragma: no cover class CustomError(Exception): pass
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Jun 11 19:08:14 GMT 2023 - 7.5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/CIBuildModel.kt
quick(true, true, true, 120, 4), // Include cross version tests, these take care of selecting a very small set of versions to cover when run as part of this stage, including the current version platform(true, true, true), // Cross version tests select a small set of versions to cover when run as part of this stage
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Feb 23 01:54:48 GMT 2024 - 20.9K bytes - Viewed (0) -
tests/test_additional_responses_response_class.py
"/a", response_class=JsonApiResponse, responses={500: {"description": "Error", "model": JsonApiError}}, ) async def a(): pass # pragma: no cover @app.get("/b", responses={500: {"description": "Error", "model": Error}}) async def b(): pass # pragma: no cover client = TestClient(app) def test_openapi_schema(): response = client.get("/openapi.json")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 3.5K bytes - Viewed (0) -
tests/test_response_class_no_mediatype.py
@app.get( "/a", response_class=Response, responses={500: {"description": "Error", "model": JsonApiError}}, ) async def a(): pass # pragma: no cover @app.get("/b", responses={500: {"description": "Error", "model": Error}}) async def b(): pass # pragma: no cover client = TestClient(app) def test_openapi_schema(): response = client.get("/openapi.json")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 3.3K bytes - Viewed (0) -
tests/test_additional_responses_custom_model_in_callback.py
@callback_router.get( "{$callback_url}/callback/", responses={400: {"model": CustomModel}} ) def callback_route(): pass # pragma: no cover @app.post("/", callbacks=callback_router.routes) def main_route(callback_url: HttpUrl): pass # pragma: no cover client = TestClient(app) def test_openapi_schema(): response = client.get("/openapi.json")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 5.8K bytes - Viewed (0) -
tests/test_request_body_parameters_media_type.py
@app.post("/products") async def create_product(data: Product = Body(media_type=media_type, embed=True)): pass # pragma: no cover @app.post("/shops") async def create_shop( data: Shop = Body(media_type=media_type), included: typing.List[Product] = Body(default=[], media_type=media_type), ): pass # pragma: no cover client = TestClient(app) def test_openapi_schema(): response = client.get("/openapi.json")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 6.4K bytes - Viewed (0) -
.cm/lacks_tests.cm
label: "⚠️ Lacks Tests" color: {{ colors.yellow }} - action: add-comment@v1 args: comment: | :warning: This PR appears to be lacking tests. Consider adding tests to cover the new functionality. # To simplify the automations section, some calculations are placed under unique YAML keys defined here.
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 2.4K bytes - Viewed (0) -
.gitignore
**/*.swp cover.out *~ minio !*/ site/ **/*.test **/*.sublime-workspace /.idea/ /Minio.iml **/access.log vendor/ .DS_Store *.syso coverage.txt .vscode/ *.tar.bz2 parts/ prime/ stage/ .sia_temp/ config.json node_modules/ mc.* s3-check-md5* xl-meta* healing-* inspect*.zip 200M* hash-set minio.RELEASE* mc nancy inspects/* .bin/ *.gz
Plain Text - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Dec 29 23:52:41 GMT 2023 - 707 bytes - Viewed (0) -
tests/test_additional_responses_bad.py
from fastapi import FastAPI from fastapi.testclient import TestClient app = FastAPI() @app.get("/a", responses={"hello": {"description": "Not a valid additional response"}}) async def a(): pass # pragma: no cover openapi_schema = { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/a": { "get": { "responses": {
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirVisibilityChecker.kt
* thereby avoiding lazy construction of the FIR class. The visibility rules are tailored specifically for Java classes accessed from * Kotlin. They cover the most popular visibilities `private`, `public`, and default (package) visibility for top-level and nested * classes. * * Returns `null` if visibility cannot be decided by the heuristic. */
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Jan 05 16:04:14 GMT 2024 - 5.7K bytes - Viewed (0)