GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Interactive demo code cannot be unit-test covered · Issue #228 · googleapis/google-cloud-python

Interactive demo code cannot be unit-test covered #228

New issue
Copy link
New issue
Copy link
Closed
#234
Closed
Interactive demo code cannot be unit-test covered#228
#234
Copy link
Assignees
tseaver
Labels
🚨This issue needs some love.testingtriage meI really want to be triaged.

Description

@tseaver
tseaver
opened on Oct 7, 2014
Issue body actions

The demo code is effectively functional tests, and shouldn't appear on the coverage report / badge:

https://coveralls.io/r/GoogleCloudPlatform/gcloud-python?branch=master

PR #226 attempted to force-ignore those modules, but they got picked up anyway:

https://coveralls.io/builds/1305677

Perhaps we need to review http://nedbatchelder.com/code/coverage/excluding.html and look for more ways to exclude those modules.

Activity

Next
  1. tseaver
    added
    hygiene
    testing
    on Oct 7, 2014
  2. dhermes commented on Oct 7, 2014

    @dhermes
    dhermes
    on Oct 7, 2014
    Contributor
    More actions

    Using omit in .coveragerc is the recommended way from the maintainers:

    ...coveralls will report unnecessary files, which is inconvenient. Here is a workaround,
    use omit option in your .coveragerc to specify a list of filename patterns, the files
    to leave out of reporting (your paths might differ)

    UPDATE: Ned discusses it too.

  3. tseaver
    closed this as completedin #234on Oct 10, 2014
  4. jgeewax
    modified the milestone: This milestone has been deleted on Jan 30, 2015
  5. urshala
    added a commit that references this issue on Jan 17, 2020

    Fixed googleapis#228

    This issue will close once commit 75d7f70 is merged into the 'master' branch.
    75d7f70
  6. yoshi-automation
    added
    triage meI really want to be triaged.
    🚨This issue needs some love.
    on Apr 6, 2020
  7. JustinBeckwith
    assigned
    tseaver
    on Feb 1, 2021
  8. parthea
    added 5 commits that reference this issue on May 31, 2023

    chore(python): upgrade gcp-releasetool in .kokoro [autoapprove] (#228)

    31dbf2c

    fix(deps): allow protobuf < 5.0.0 (#228)

    b0ad739

    feat: Add support for python 3.11 (#228)

    cdc03f1

    chore(main): release 1.7.1 (#228)

    b84c42e

    chore(deps): update all dependencies (#228)

    ff75d27
  9. 64 remaining items

  10. parthea
    added 9 commits that reference this issue on Nov 24, 2025

    tests: harden tests of 'Query.fetch' against 503 (#229)

    This issue will close once commit a459743 is merged into the 'main' branch.
    a459743

    build: treat warnings as errors (#228)

    This issue will close once commit 30f26c2 is merged into the 'main' branch.
    30f26c2

    chore: [autoapprove] Update `black` and `isort` to latest versions (#228

    This issue will close once commit 42b956a is merged into the 'main' branch.
    42b956a

    chore: use gapic-generator-python 0.63.2 (#228)

    This issue will close once commit 9e5a27e is merged into the 'main' branch.
    9e5a27e

    fix: add import message via synth (#231)

    This issue will close once commit 6a44339 is merged into the 'main' branch.
    6a44339

    feat: use standard output logs on serverless environments (#228)

    This issue will close once commit fd880db is merged into the 'main' branch.
    fd880db

    fix(internal): Enable release-please (#228)

    This issue will close once commit 3bb1abb is merged into the 'main' branch.
    3bb1abb

    feat: use standard output logs on serverless environments (#228)

    This issue will close once commit 6a6b052 is merged into the 'main' branch.
    6a6b052

    Docstring fix for has_scopes() and with_scopes(). (#228)

    This issue will close once commit 5c03b7b is merged into the 'main' branch.
    5c03b7b
  11. parthea
    added 2 commits that reference this issue on Mar 2, 2026

    chore(deps): update dependency setuptools to v70 [security] (#228)

    e906d8d

    fix!: drop Python 2.7 support (#229)

    6f54d1f
  12. parthea
    added 3 commits that reference this issue on Mar 9, 2026

    fix: change datetime.now to utcnow (#251)

    This issue will close once commit 90fe8a8 is merged into the 'main' branch.
    90fe8a8

    fix: connection attribute of connection class and include related uni…

    This issue will close once commit b8d0330 is merged into the 'main' branch.
    b8d0330

    chore: remove 'pip install' statements from python_library templates …

    This issue will close once commit d8acdbe is merged into the 'main' branch.
    d8acdbe
  13. ohmayr
    added a commit that references this issue on Mar 31, 2026

    chore(deps): update dependency setuptools to v70 [security] (#228)

    0a66719
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @tseaver
    tseaver

Labels

🚨This issue needs some love.testingtriage meI really want to be triaged.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.