Skip to content

Commit 68c49cc

Browse files
committed
update goldens
1 parent c9c2be0 commit 68c49cc

8 files changed

Lines changed: 32 additions & 96 deletions

File tree

packages/gapic-generator/tests/integration/goldens/asset/noxfile.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -455,12 +455,8 @@ def prerelease_deps(session, protobuf_implementation):
455455
`pip install --pre <package>`.
456456
"""
457457

458-
# Install all dependencies
459-
session.install("-e", ".")
460-
461-
# Install dependencies for the unit test environment
462-
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
463-
session.install(*unit_deps_all)
458+
# Install all dependencies and unit test environment
459+
install_unittest_dependencies(session)
464460

465461
# Because we test minimum dependency versions on the minimum Python
466462
# version, the first version we test with in the unit tests sessions has a
@@ -567,12 +563,8 @@ def core_deps_from_source(session, protobuf_implementation):
567563
rather than pulling the dependencies from PyPI.
568564
"""
569565

570-
# Install all dependencies
571-
session.install("-e", ".")
572-
573-
# Install dependencies for the unit test environment
574-
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
575-
session.install(*unit_deps_all)
566+
# Install all dependencies and unit test environment
567+
install_unittest_dependencies(session)
576568

577569
# Because we test minimum dependency versions on the minimum Python
578570
# version, the first version we test with in the unit tests sessions has a

packages/gapic-generator/tests/integration/goldens/credentials/noxfile.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -455,12 +455,8 @@ def prerelease_deps(session, protobuf_implementation):
455455
`pip install --pre <package>`.
456456
"""
457457

458-
# Install all dependencies
459-
session.install("-e", ".")
460-
461-
# Install dependencies for the unit test environment
462-
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
463-
session.install(*unit_deps_all)
458+
# Install all dependencies and unit test environment
459+
install_unittest_dependencies(session)
464460

465461
# Because we test minimum dependency versions on the minimum Python
466462
# version, the first version we test with in the unit tests sessions has a
@@ -567,12 +563,8 @@ def core_deps_from_source(session, protobuf_implementation):
567563
rather than pulling the dependencies from PyPI.
568564
"""
569565

570-
# Install all dependencies
571-
session.install("-e", ".")
572-
573-
# Install dependencies for the unit test environment
574-
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
575-
session.install(*unit_deps_all)
566+
# Install all dependencies and unit test environment
567+
install_unittest_dependencies(session)
576568

577569
# Because we test minimum dependency versions on the minimum Python
578570
# version, the first version we test with in the unit tests sessions has a

packages/gapic-generator/tests/integration/goldens/eventarc/noxfile.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -455,12 +455,8 @@ def prerelease_deps(session, protobuf_implementation):
455455
`pip install --pre <package>`.
456456
"""
457457

458-
# Install all dependencies
459-
session.install("-e", ".")
460-
461-
# Install dependencies for the unit test environment
462-
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
463-
session.install(*unit_deps_all)
458+
# Install all dependencies and unit test environment
459+
install_unittest_dependencies(session)
464460

465461
# Because we test minimum dependency versions on the minimum Python
466462
# version, the first version we test with in the unit tests sessions has a
@@ -567,12 +563,8 @@ def core_deps_from_source(session, protobuf_implementation):
567563
rather than pulling the dependencies from PyPI.
568564
"""
569565

570-
# Install all dependencies
571-
session.install("-e", ".")
572-
573-
# Install dependencies for the unit test environment
574-
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
575-
session.install(*unit_deps_all)
566+
# Install all dependencies and unit test environment
567+
install_unittest_dependencies(session)
576568

577569
# Because we test minimum dependency versions on the minimum Python
578570
# version, the first version we test with in the unit tests sessions has a

packages/gapic-generator/tests/integration/goldens/logging/noxfile.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -455,12 +455,8 @@ def prerelease_deps(session, protobuf_implementation):
455455
`pip install --pre <package>`.
456456
"""
457457

458-
# Install all dependencies
459-
session.install("-e", ".")
460-
461-
# Install dependencies for the unit test environment
462-
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
463-
session.install(*unit_deps_all)
458+
# Install all dependencies and unit test environment
459+
install_unittest_dependencies(session)
464460

465461
# Because we test minimum dependency versions on the minimum Python
466462
# version, the first version we test with in the unit tests sessions has a
@@ -567,12 +563,8 @@ def core_deps_from_source(session, protobuf_implementation):
567563
rather than pulling the dependencies from PyPI.
568564
"""
569565

570-
# Install all dependencies
571-
session.install("-e", ".")
572-
573-
# Install dependencies for the unit test environment
574-
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
575-
session.install(*unit_deps_all)
566+
# Install all dependencies and unit test environment
567+
install_unittest_dependencies(session)
576568

577569
# Because we test minimum dependency versions on the minimum Python
578570
# version, the first version we test with in the unit tests sessions has a

packages/gapic-generator/tests/integration/goldens/logging_internal/noxfile.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -455,12 +455,8 @@ def prerelease_deps(session, protobuf_implementation):
455455
`pip install --pre <package>`.
456456
"""
457457

458-
# Install all dependencies
459-
session.install("-e", ".")
460-
461-
# Install dependencies for the unit test environment
462-
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
463-
session.install(*unit_deps_all)
458+
# Install all dependencies and unit test environment
459+
install_unittest_dependencies(session)
464460

465461
# Because we test minimum dependency versions on the minimum Python
466462
# version, the first version we test with in the unit tests sessions has a
@@ -567,12 +563,8 @@ def core_deps_from_source(session, protobuf_implementation):
567563
rather than pulling the dependencies from PyPI.
568564
"""
569565

570-
# Install all dependencies
571-
session.install("-e", ".")
572-
573-
# Install dependencies for the unit test environment
574-
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
575-
session.install(*unit_deps_all)
566+
# Install all dependencies and unit test environment
567+
install_unittest_dependencies(session)
576568

577569
# Because we test minimum dependency versions on the minimum Python
578570
# version, the first version we test with in the unit tests sessions has a

packages/gapic-generator/tests/integration/goldens/redis/noxfile.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -455,12 +455,8 @@ def prerelease_deps(session, protobuf_implementation):
455455
`pip install --pre <package>`.
456456
"""
457457

458-
# Install all dependencies
459-
session.install("-e", ".")
460-
461-
# Install dependencies for the unit test environment
462-
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
463-
session.install(*unit_deps_all)
458+
# Install all dependencies and unit test environment
459+
install_unittest_dependencies(session)
464460

465461
# Because we test minimum dependency versions on the minimum Python
466462
# version, the first version we test with in the unit tests sessions has a
@@ -567,12 +563,8 @@ def core_deps_from_source(session, protobuf_implementation):
567563
rather than pulling the dependencies from PyPI.
568564
"""
569565

570-
# Install all dependencies
571-
session.install("-e", ".")
572-
573-
# Install dependencies for the unit test environment
574-
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
575-
session.install(*unit_deps_all)
566+
# Install all dependencies and unit test environment
567+
install_unittest_dependencies(session)
576568

577569
# Because we test minimum dependency versions on the minimum Python
578570
# version, the first version we test with in the unit tests sessions has a

packages/gapic-generator/tests/integration/goldens/redis_selective/noxfile.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -455,12 +455,8 @@ def prerelease_deps(session, protobuf_implementation):
455455
`pip install --pre <package>`.
456456
"""
457457

458-
# Install all dependencies
459-
session.install("-e", ".")
460-
461-
# Install dependencies for the unit test environment
462-
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
463-
session.install(*unit_deps_all)
458+
# Install all dependencies and unit test environment
459+
install_unittest_dependencies(session)
464460

465461
# Because we test minimum dependency versions on the minimum Python
466462
# version, the first version we test with in the unit tests sessions has a
@@ -567,12 +563,8 @@ def core_deps_from_source(session, protobuf_implementation):
567563
rather than pulling the dependencies from PyPI.
568564
"""
569565

570-
# Install all dependencies
571-
session.install("-e", ".")
572-
573-
# Install dependencies for the unit test environment
574-
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
575-
session.install(*unit_deps_all)
566+
# Install all dependencies and unit test environment
567+
install_unittest_dependencies(session)
576568

577569
# Because we test minimum dependency versions on the minimum Python
578570
# version, the first version we test with in the unit tests sessions has a

packages/gapic-generator/tests/integration/goldens/storagebatchoperations/noxfile.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -455,12 +455,8 @@ def prerelease_deps(session, protobuf_implementation):
455455
`pip install --pre <package>`.
456456
"""
457457

458-
# Install all dependencies
459-
session.install("-e", ".")
460-
461-
# Install dependencies for the unit test environment
462-
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
463-
session.install(*unit_deps_all)
458+
# Install all dependencies and unit test environment
459+
install_unittest_dependencies(session)
464460

465461
# Because we test minimum dependency versions on the minimum Python
466462
# version, the first version we test with in the unit tests sessions has a
@@ -567,12 +563,8 @@ def core_deps_from_source(session, protobuf_implementation):
567563
rather than pulling the dependencies from PyPI.
568564
"""
569565

570-
# Install all dependencies
571-
session.install("-e", ".")
572-
573-
# Install dependencies for the unit test environment
574-
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
575-
session.install(*unit_deps_all)
566+
# Install all dependencies and unit test environment
567+
install_unittest_dependencies(session)
576568

577569
# Because we test minimum dependency versions on the minimum Python
578570
# version, the first version we test with in the unit tests sessions has a

0 commit comments

Comments
 (0)