Skip to content

Commit 07ab8a0

Browse files
authored
Add 'mock' to unit test dependencies for autogen libs. (googleapis#6402)
In anticipation of landing googleapis/gapic-generator#2407.
1 parent f3e9181 commit 07ab8a0

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

asset/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
def default(session):
2828
# Install all test dependencies, then install this package in-place.
29-
session.install('pytest')
29+
session.install('pytest', 'mock')
3030
for local_dep in LOCAL_DEPS:
3131
session.install('-e', local_dep)
3232
session.install('-e', '.')

automl/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
def default(session):
2727
# Install all test dependencies, then install this package in-place.
28-
session.install('pytest')
28+
session.install('pytest', 'mock')
2929
for local_dep in LOCAL_DEPS:
3030
session.install('-e', local_dep)
3131
session.install('-e', '.')

iot/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
def default(session):
2727
# Install all test dependencies, then install this package in-place.
28-
session.install('pytest')
28+
session.install('pytest', 'mock')
2929
for local_dep in LOCAL_DEPS:
3030
session.install('-e', local_dep)
3131
session.install('-e', '.')

kms/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
def default(session):
2929
# Install all test dependencies, then install this package in-place.
30-
session.install('pytest')
30+
session.install('pytest', 'mock')
3131
for local_dep in LOCAL_DEPS:
3232
session.install('-e', local_dep)
3333
session.install('-e', '.')

oslogin/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
def default(session):
2727
# Install all test dependencies, then install this package in-place.
28-
session.install('pytest')
28+
session.install('pytest', 'mock')
2929
for local_dep in LOCAL_DEPS:
3030
session.install('-e', local_dep)
3131
session.install('-e', '.')

tasks/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
def default(session):
2929
# Install all test dependencies, then install this package in-place.
30-
session.install('pytest')
30+
session.install('pytest', 'mock')
3131
for local_dep in LOCAL_DEPS:
3232
session.install('-e', local_dep)
3333
session.install('-e', '.')

texttospeech/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
def default(session):
2626
# Install all test dependencies, then install this package in-place.
27-
session.install('pytest')
27+
session.install('pytest', 'mock')
2828
for local_dep in LOCAL_DEPS:
2929
session.install('-e', local_dep)
3030
session.install('-e', '.')

videointelligence/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
def default(session):
2727
# Install all test dependencies, then install this package in-place.
28-
session.install('pytest')
28+
session.install('pytest', 'mock')
2929
for local_dep in LOCAL_DEPS:
3030
session.install('-e', local_dep)
3131
session.install('-e', '.')

0 commit comments

Comments
 (0)