diff --git a/packages/google-cloud-redis/nox.py b/packages/google-cloud-redis/nox.py index b092b754c40f..1b99982e76da 100644 --- a/packages/google-cloud-redis/nox.py +++ b/packages/google-cloud-redis/nox.py @@ -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.