Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 346 for moduleId (0.06 sec)

  1. mockwebserver-junit5/README.md

    1. MockWebServer for JUnit 5
    2. =========================
    3.  
    4. This module integrates mockwebserver3.MockWebServer with JUnit 5.
    5.  
    6. To use, first add this library as a test dependency:
    7.  
    8. ```
    9. testRuntimeOnly("com.squareup.okhttp3:mockwebserver3-junit5:4.12.0")
    10. ```
    11.  
    12. Then in tests annotated `@org.junit.jupiter.api.Test`, you may add a [MockWebServer] as a test
    13. method parameter. It will be shut down automatically after the test runs.
    14.  
    15. ```
    16. class MyTest {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py

    1. import os
    2. from pathlib import Path
    3.  
    4. import pytest
    5. from fastapi.testclient import TestClient
    6.  
    7.  
    8. @pytest.fixture(scope="module")
    9. def client():
    10. static_dir: Path = Path(os.getcwd()) / "static"
    11. print(static_dir)
    12. static_dir.mkdir(exist_ok=True)
    13. from docs_src.custom_docs_ui.tutorial001 import app
    14.  
    15. with TestClient(app) as client:
    16. yield client
    17. static_dir.rmdir()
    18.  
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. docs/pt/docs/deployment/manually.md

    1. ╭─ <font color="#8AE234"><b>Python module file</b></font> ─╮
    2. 🐍 main.py
    3. ╰──────────────────────╯
    4.  
    5. <font color="#3465A4">INFO </font> Importing module <font color="#4E9A06">main</font>
    6. <font color="#3465A4">INFO </font> Found importable FastAPI app
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 20 11:10:02 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_events/test_tutorial001.py

    1. import pytest
    2. from fastapi import FastAPI
    3. from fastapi.testclient import TestClient
    4.  
    5.  
    6. @pytest.fixture(name="app", scope="module")
    7. def get_app():
    8. with pytest.warns(DeprecationWarning):
    9. from docs_src.events.tutorial001 import app
    10. yield app
    11.  
    12.  
    13. def test_events(app: FastAPI):
    14. with TestClient(app) as client:
    15. response = client.get("/items/foo")
    16. assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. docs/debugging/s3-verify/go.mod

    1. module github.com/minio/minio/docs/debugging/s3-verify
    2.  
    3. go 1.21
    4.  
    5. require github.com/minio/minio-go/v7 v7.0.70
    6.  
    7. require (
    8. github.com/dustin/go-humanize v1.0.1 // indirect
    9. github.com/goccy/go-json v0.10.2 // indirect
    10. github.com/google/uuid v1.6.0 // indirect
    11. github.com/klauspost/compress v1.17.8 // indirect
    12. github.com/klauspost/cpuid/v2 v2.2.7 // indirect
    13. github.com/minio/md5-simd v1.1.2 // indirect
    14. github.com/rs/xid v1.5.0 // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 13 17:59:52 UTC 2024
    - 688 bytes
    - Viewed (0)
  6. docs/en/docs/fastapi-cli.md

    1. ╭─ <font color="#8AE234"><b>Python module file</b></font> ─╮
    2. 🐍 main.py
    3. ╰──────────────────────╯
    4.  
    5. <font color="#3465A4">INFO </font> Importing module <font color="#4E9A06">main</font>
    6. <font color="#3465A4">INFO </font> Found importable FastAPI app
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

    1. for (String module : rawModel.getModules()) {
    2. Path moduleFile = defaultModelBuilder
    3. .getModelProcessor()
    4. .locateExistingPom(pom.getParent().resolve(module));
    5. if (moduleFile != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (1)
  8. compat/maven-model-builder/src/test/resources/poms/inheritance/tricky-flat-artifactId-urls-expected.xml

    1. </parent>
    2.  
    3. <groupId>inheritance</groupId>
    4. <artifactId>child-artifact-id</artifactId>
    5. <version>11-SNAPSHOT</version>
    6. <name>Model urls inheritance test child</name>
    7. <description>Flat directory structure case: module = ../child-artifact-id + child directory path != child-artifact-id</description>
    8.  
    9. <!-- 5 inherited urls with ../${project.artifactId} added to parent -->
    10. <url>http://www.apache.org/path/to/parent/../child-artifact-id/</url>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. regression-test/README.md

    1. Regression Test
    2. ===============
    3.  
    4. A gradle module for running Regression tests on a device, emulator or JVM.
    5.  
    6. 1. Add an Emulator named `pixel5`, if you don't already have one
    7.  
    8. ```
    9. $ sdkmanager --install "system-images;android-29;google_apis;x86"
    10. $ echo "no" | avdmanager --verbose create avd --force --name "pixel5" --device "pixel" --package "system-images;android-29;google_apis;x86" --tag "google_apis" --abi "x86"
    11. ```
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Nov 13 07:09:56 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  10. okcurl/build.gradle.kts

    1. testApi(libs.assertk)
    2. testImplementation(kotlin("test"))
    3. }
    4.  
    5. animalsniffer {
    6. isIgnoreFailures = true
    7. }
    8.  
    9. tasks.jar {
    10. manifest {
    11. attributes("Automatic-Module-Name" to "okhttp3.curl")
    12. attributes("Main-Class" to "okhttp3.curl.MainCommandLineKt")
    13. }
    14. }
    15.  
    16. tasks.shadowJar {
    17. mergeServiceFiles()
    18. }
    19.  
    20. graal {
    21. mainClass("okhttp3.curl.MainCommandLineKt")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top