Skip to content

Commit f943185

Browse files
authored
test(python): give filesystem paths to pytest-cov (#859)
https://pytest-cov.readthedocs.io/en/latest/config.html The pytest-cov docs seem to suggest a filesystem path is expected.
1 parent 69629b6 commit f943185

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

synthtool/gcp/templates/python_library/noxfile.py.j2

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,8 @@ def default(session):
8585
session.run(
8686
"py.test",
8787
"--quiet",
88-
"--cov=google.cloud{% if metadata['repo']['name'] %}.{{ metadata['repo']['name'] }}{% endif %}",
89-
"--cov=google.cloud",
90-
"--cov=tests.unit",
88+
"--cov=google/cloud",
89+
"--cov=tests/unit",
9190
"--cov-append",
9291
"--cov-config=.coveragerc",
9392
"--cov-report=",

0 commit comments

Comments
 (0)