@@ -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+ for local_dep in LOCAL_DEPS :
41+ session .install ('-e' ,local_dep )
4042session .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.
8789session .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+ for local_dep in LOCAL_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.
9699session .run (