Skip to content

Commit

Permalink
Add 'mock' to unit test dependencies for autogen libs. (#6402)
Browse files Browse the repository at this point in the history
In anticipation of landing
googleapis/gapic-generator#2407.
  • Loading branch information
tseaver committed Nov 8, 2018
1 parent f3e9181 commit 07ab8a0
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion asset/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

def default(session):
# Install all test dependencies, then install this package in-place.
session.install('pytest')
session.install('pytest', 'mock')
for local_dep in LOCAL_DEPS:
session.install('-e', local_dep)
session.install('-e', '.')
Expand Down
2 changes: 1 addition & 1 deletion automl/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

def default(session):
# Install all test dependencies, then install this package in-place.
session.install('pytest')
session.install('pytest', 'mock')
for local_dep in LOCAL_DEPS:
session.install('-e', local_dep)
session.install('-e', '.')
Expand Down
2 changes: 1 addition & 1 deletion iot/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

def default(session):
# Install all test dependencies, then install this package in-place.
session.install('pytest')
session.install('pytest', 'mock')
for local_dep in LOCAL_DEPS:
session.install('-e', local_dep)
session.install('-e', '.')
Expand Down
2 changes: 1 addition & 1 deletion kms/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

def default(session):
# Install all test dependencies, then install this package in-place.
session.install('pytest')
session.install('pytest', 'mock')
for local_dep in LOCAL_DEPS:
session.install('-e', local_dep)
session.install('-e', '.')
Expand Down
2 changes: 1 addition & 1 deletion oslogin/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

def default(session):
# Install all test dependencies, then install this package in-place.
session.install('pytest')
session.install('pytest', 'mock')
for local_dep in LOCAL_DEPS:
session.install('-e', local_dep)
session.install('-e', '.')
Expand Down
2 changes: 1 addition & 1 deletion tasks/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

def default(session):
# Install all test dependencies, then install this package in-place.
session.install('pytest')
session.install('pytest', 'mock')
for local_dep in LOCAL_DEPS:
session.install('-e', local_dep)
session.install('-e', '.')
Expand Down
2 changes: 1 addition & 1 deletion texttospeech/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

def default(session):
# Install all test dependencies, then install this package in-place.
session.install('pytest')
session.install('pytest', 'mock')
for local_dep in LOCAL_DEPS:
session.install('-e', local_dep)
session.install('-e', '.')
Expand Down
2 changes: 1 addition & 1 deletion videointelligence/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

def default(session):
# Install all test dependencies, then install this package in-place.
session.install('pytest')
session.install('pytest', 'mock')
for local_dep in LOCAL_DEPS:
session.install('-e', local_dep)
session.install('-e', '.')
Expand Down

0 comments on commit 07ab8a0

Please sign in to comment.