Skip to content

Commit

Permalink
fix(python_library): fix external unit test dependencies (#831)
Browse files Browse the repository at this point in the history
I recently submitted https://github.com/googleapis/synthtool/pull/811/files, allowing external dependencies for unit tests. This fixes a small missing comma bug
  • Loading branch information
daniel-sanche authored Oct 29, 2020
1 parent ea52b8a commit 6542bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synthtool/gcp/templates/python_library/noxfile.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def default(session):
{%- if microgenerator %}
session.install("asyncmock", "pytest-asyncio")
{% endif %}
session.install("mock", "pytest", "pytest-cov" {% for d in unit_test_external_dependencies %}"{{d}}"{% if not loop.last %},{% endif %}{% endfor %})
session.install("mock", "pytest", "pytest-cov", {% for d in unit_test_external_dependencies %}"{{d}}"{% if not loop.last %},{% endif %}{% endfor %})
session.install("-e", ".")
{% for dependency in unit_test_local_dependencies %}session.install("-e", "{{dependency}}"){% endfor %}
{% for dependency in unit_test_dependencies %}session.install("-e", "{{dependency}}"){% endfor %}
Expand Down

0 comments on commit 6542bd7

Please sign in to comment.