From 6542bd723403513626f61642fc02ddca528409aa Mon Sep 17 00:00:00 2001 From: Daniel Sanche Date: Thu, 29 Oct 2020 16:58:01 -0700 Subject: [PATCH] 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 --- synthtool/gcp/templates/python_library/noxfile.py.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synthtool/gcp/templates/python_library/noxfile.py.j2 b/synthtool/gcp/templates/python_library/noxfile.py.j2 index 2d060529f..b54ce9815 100644 --- a/synthtool/gcp/templates/python_library/noxfile.py.j2 +++ b/synthtool/gcp/templates/python_library/noxfile.py.j2 @@ -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 %}