Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 07ab8a0

Browse filesBrowse 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
Copy full SHA for 07ab8a0

8 files changed

+8-8Lines changed: 8 additions & 8 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎asset/noxfile.py‎

Copy file name to clipboardExpand all lines: asset/noxfile.py
+1-1Lines 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', '.')
Collapse file

‎automl/noxfile.py‎

Copy file name to clipboardExpand all lines: automl/noxfile.py
+1-1Lines 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', '.')
Collapse file

‎iot/noxfile.py‎

Copy file name to clipboardExpand all lines: iot/noxfile.py
+1-1Lines 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', '.')
Collapse file

‎kms/noxfile.py‎

Copy file name to clipboardExpand all lines: kms/noxfile.py
+1-1Lines 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', '.')
Collapse file

‎oslogin/noxfile.py‎

Copy file name to clipboardExpand all lines: oslogin/noxfile.py
+1-1Lines 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', '.')
Collapse file

‎tasks/noxfile.py‎

Copy file name to clipboardExpand all lines: tasks/noxfile.py
+1-1Lines 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', '.')
Collapse file

‎texttospeech/noxfile.py‎

Copy file name to clipboardExpand all lines: texttospeech/noxfile.py
+1-1Lines 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', '.')
Collapse file

‎videointelligence/noxfile.py‎

Copy file name to clipboardExpand all lines: videointelligence/noxfile.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.