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

Commitb02f76f

Browse files
authored
Nox: use inplace installs (#5865)
1 parentd2e3ec6 commitb02f76f

File tree

1 file changed

+10
-7
lines changed
  • packages/google-cloud-firestore

1 file changed

+10
-7
lines changed

‎packages/google-cloud-firestore/nox.py‎

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ def default(session):
3535
Python corresponding to the ``nox`` binary the ``PATH`` can
3636
run the tests.
3737
"""
38-
# Install all test dependencies, then install this package in-place.
39-
session.install('mock','pytest','pytest-cov',*LOCAL_DEPS)
38+
# Install all test dependencies, then install local packages in-place.
39+
session.install('mock','pytest','pytest-cov')
40+
forlocal_depinLOCAL_DEPS:
41+
session.install('-e',local_dep)
4042
session.install('-e','.')
4143

4244
# Run py.test against the unit tests.
@@ -86,11 +88,12 @@ def system(session, py):
8688
# Use pre-release gRPC for system tests.
8789
session.install('--pre','grpcio')
8890

89-
# Install all test dependencies, then install this package into the
90-
# virtualenv's dist-packages.
91-
session.install('mock','pytest',*LOCAL_DEPS)
92-
session.install(os.path.join('..','test_utils'))
93-
session.install('.')
91+
# Install all test dependencies, then install local packages in-place.
92+
session.install('mock','pytest')
93+
forlocal_depinLOCAL_DEPS:
94+
session.install('-e',local_dep)
95+
session.install('-e',os.path.join('..','test_utils'))
96+
session.install('-e','.')
9497

9598
# Run py.test against the system tests.
9699
session.run(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp