Skip to content

Commit 6542bd7

Browse files
fix(python_library): fix external unit test dependencies (#831)
I recently submitted https://github.com/googleapis/synthtool/pull/811/files, allowing external dependencies for unit tests. This fixes a small missing comma bug
1 parent ea52b8a commit 6542bd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def default(session):
7676
{%- if microgenerator %}
7777
session.install("asyncmock", "pytest-asyncio")
7878
{% endif %}
79-
session.install("mock", "pytest", "pytest-cov" {% for d in unit_test_external_dependencies %}"{{d}}"{% if not loop.last %},{% endif %}{% endfor %})
79+
session.install("mock", "pytest", "pytest-cov", {% for d in unit_test_external_dependencies %}"{{d}}"{% if not loop.last %},{% endif %}{% endfor %})
8080
session.install("-e", ".")
8181
{% for dependency in unit_test_local_dependencies %}session.install("-e", "{{dependency}}"){% endfor %}
8282
{% for dependency in unit_test_dependencies %}session.install("-e", "{{dependency}}"){% endfor %}

0 commit comments

Comments
 (0)