Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit41c4e9a

Browse files
test: pin mock version to 5.0.0 in noxfile for unit tests (#844)
* fix: pin mock version to 5.0.0 in noxfile for unit tests* 🦉 Updates from OwlBot post-processorSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* replace mock in owlbot.py* 🦉 Updates from OwlBot post-processorSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* replace mock in owlbot.py* 🦉 Updates from OwlBot post-processorSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md* Update owlbot.py* 🦉 Updates from OwlBot post-processorSeehttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.mdCo-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent568f305 commit41c4e9a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

‎noxfile.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
UNIT_TEST_PYTHON_VERSIONS= ["3.7","3.8","3.9","3.10","3.11"]
3737
UNIT_TEST_STANDARD_DEPENDENCIES= [
38-
"mock",
38+
"mock==5.0.0",
3939
"asyncmock",
4040
"pytest",
4141
"pytest-cov",
@@ -49,7 +49,7 @@
4949

5050
SYSTEM_TEST_PYTHON_VERSIONS= ["3.10"]
5151
SYSTEM_TEST_STANDARD_DEPENDENCIES= [
52-
"mock",
52+
"mock==5.0.0",
5353
"pytest",
5454
"google-cloud-testutils",
5555
]

‎owlbot.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,9 @@
353353
s.replace(
354354
"noxfile.py",r'"blacken",','\g<0>\n "mypy",',
355355
)
356+
s.replace(
357+
"noxfile.py",r'"mock"','"mock==5.0.0"',
358+
)
356359
s.replace(
357360
"noxfile.py",
358361
r"nox\.options\.error_on_missing_interpreters = True",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp