Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NDB: No longer excluding __repr__ and abstract methods in coverage. #6694

Merged
merged 1 commit into from
Dec 3, 2018

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Nov 29, 2018

These were added in #6642 but I think they should be there:

  • We actually need to have a faithful reproduction of __repr__ for the original source
  • The original __repr__ implementations are verbose
  • Right now, there are lots of virtual methods and test they are virtual, hence the coverage for raise NotImplementedError

I also think that fail_under = 100 should be removed from [report]. It causes the pytest ... invocation to fail, and so session.notify("cover") never gets triggered and the actual coverage report of missing lines is no longer printed.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 29, 2018
@crwilcox
Copy link
Contributor

crwilcox commented Dec 3, 2018

We can remove these from NDB. The generated libs had theses excluded. If removing them in this case makes sense I am happy to cover them here.

@crwilcox crwilcox merged commit b69461c into googleapis:master Dec 3, 2018
@dhermes dhermes deleted the coveragerc-ndb branch December 3, 2018 22:32
chrisrossi pushed a commit to chrisrossi/google-cloud-python that referenced this pull request Feb 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: ndb cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants