Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for coverage (0.15 sec)

  1. .github/workflows/test.yml

          - name: Get coverage files
            uses: actions/download-artifact@v3
            with:
              name: coverage
              path: coverage
          - run: pip install coverage[toml]
          - run: ls -la coverage
          - run: coverage combine coverage
          - run: coverage report
          - run: coverage html --show-contexts --title "Coverage for ${{ github.sha }}"
          - name: Store coverage HTML
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 4.4K bytes
    - Viewed (2)
  2. tests/test_compat.py

    
    @needs_pydanticv2
    def test_model_field_default_required():
        # For coverage
        field_info = FieldInfo(annotation=str)
        field = ModelField(name="foo", field_info=field_info)
        assert field.default is Undefined
    
    
    @needs_pydanticv1
    def test_upload_file_dummy_with_info_plain_validator_function():
        # For coverage
        assert UploadFile.__get_pydantic_core_schema__(str, lambda x: None) == {}
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  3. .gitignore

    .idea
    .ipynb_checkpoints
    .mypy_cache
    .vscode
    __pycache__
    .pytest_cache
    htmlcov
    dist
    site
    .coverage
    coverage.xml
    .netlify
    test.db
    log.txt
    Pipfile.lock
    env3.*
    env
    docs_build
    site_build
    venv
    docs.zip
    archive.zip
    
    # vim temporary files
    *~
    .*.sw?
    .cache
    
    # macOS
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 13:11:35 GMT 2023
    - 268 bytes
    - Viewed (0)
  4. docs/vi/docs/features.md

    ### Đã được kiểm thử
    
    * 100% <abbr title=" Lượng code đã được kiểm thử tự động">test coverage</abbr>.
    * 100% <abbr title="Python type annotations, với điều này trình soạn thảo của bạn và các công cụ bên ngoài có thể hỗ trợ bạn tốt hơn">type annotated</abbr> code base.
    * Được sử dụng cho các ứng dụng sản phẩm.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  5. .github/workflows/smokeshow.yml

              workflow: test.yml
              commit: ${{ github.event.workflow_run.head_sha }}
    
          - run: smokeshow upload coverage-html
            env:
              SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}
              SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 100
              SMOKESHOW_GITHUB_CONTEXT: coverage
              SMOKESHOW_GITHUB_TOKEN: ${{ secrets.FASTAPI_SMOKESHOW_UPLOAD }}
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 19 01:33:28 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  6. scripts/test-cov-html.sh

    #!/usr/bin/env bash
    
    set -e
    set -x
    
    bash scripts/test.sh ${@}
    coverage combine
    coverage report --show-missing
    Shell Script
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Nov 03 20:00:29 GMT 2022
    - 124 bytes
    - Viewed (0)
  7. tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py

    
    def test_get():
        response = client.get("/users/")
        assert response.status_code == 200, response.text
        assert response.json() == ["Rick", "Morty"]
    
    
    def test_dummy_webhook():
        # Just for coverage
        app.webhooks.routes[0].endpoint({})
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Oct 20 09:00:44 GMT 2023
    - 4.4K bytes
    - Viewed (2)
  8. tests/test_webhooks_security.py

        data to the URL that you register for the event `new-subscription` in the dashboard.
        """
    
    
    client = TestClient(app)
    
    
    def test_dummy_webhook():
        # Just for coverage
        new_subscription(body={}, token="Bearer 123")
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        # insert_assert(response.json())
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Oct 20 09:00:44 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  9. docs/en/docs/contributing.md

    This helps to make sure that:
    
    * The documentation is up-to-date.
    * The documentation examples can be run as is.
    * Most of the features are covered by the documentation, ensured by test coverage.
    
    #### Apps and docs at the same time
    
    If you run the examples with, e.g.:
    
    <div class="termy">
    
    ```console
    $ uvicorn tutorial001:app --reload
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 17:42:43 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. tests/test_custom_schema_fields.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json()["components"]["schemas"]["Item"] == item_schema
    
    
    def test_response():
        # For coverage
        response = client.get("/foo")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 1.2K bytes
    - Viewed (0)
Back to top