Skip to content

Commit

Permalink
test(python): give filesystem paths to pytest-cov (#859)
Browse files Browse the repository at this point in the history
https://pytest-cov.readthedocs.io/en/latest/config.html

The pytest-cov docs seem to suggest a filesystem path is expected.
  • Loading branch information
busunkim96 authored Dec 2, 2020
1 parent 69629b6 commit f943185
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions synthtool/gcp/templates/python_library/noxfile.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,8 @@ def default(session):
session.run(
"py.test",
"--quiet",
"--cov=google.cloud{% if metadata['repo']['name'] %}.{{ metadata['repo']['name'] }}{% endif %}",
"--cov=google.cloud",
"--cov=tests.unit",
"--cov=google/cloud",
"--cov=tests/unit",
"--cov-append",
"--cov-config=.coveragerc",
"--cov-report=",
Expand Down

0 comments on commit f943185

Please sign in to comment.