Skip to content

Commit

Permalink
Nox: use inplace installs (#5865)
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver authored Aug 30, 2018
1 parent ec81e2f commit 324963a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/google-cloud-resource-manager/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ def default(session):
Python corresponding to the ``nox`` binary the ``PATH`` can
run the tests.
"""
# Install all test dependencies, then install this package in-place.
session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS)
# Install all test dependencies, then install local packages in-place.
session.install('mock', 'pytest', 'pytest-cov')
for local_dep in LOCAL_DEPS:
session.install('-e', local_dep)
session.install('-e', '.')

# Run py.test against the unit tests.
Expand Down

0 comments on commit 324963a

Please sign in to comment.