Skip to content

Commit

Permalink
Modify system tests to use prerelease versions of grpcio (#5304)
Browse files Browse the repository at this point in the history
  • Loading branch information
crwilcox authored May 16, 2018
1 parent 1b76727 commit 5644f15
Show file tree
Hide file tree
Showing 19 changed files with 55 additions and 1 deletion.
3 changes: 3 additions & 0 deletions bigquery/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ def system(session, py):
# Set the virtualenv dirname.
session.virtualenv_dirname = 'sys-' + py

# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
session.install('mock', 'pytest', *LOCAL_DEPS)
Expand Down
3 changes: 3 additions & 0 deletions bigquery_datatransfer/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ def system(session, py):
# Set the virtualenv dirname.
session.virtualenv_dirname = 'sys-' + py

# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
session.install('mock', 'pytest')
Expand Down
3 changes: 3 additions & 0 deletions bigtable/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ def system(session, py):
# Set the virtualenv dirname.
session.virtualenv_dirname = 'sys-' + py

# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
session.install('mock', 'pytest', *LOCAL_DEPS)
Expand Down
3 changes: 3 additions & 0 deletions container/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ def system(session, py):
# Set the virtualenv dirname.
session.virtualenv_dirname = 'sys-' + py

# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
session.install('mock', 'pytest')
Expand Down
3 changes: 3 additions & 0 deletions dataproc/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ def system(session, py):

session.virtualenv_dirname = 'sys-' + py

# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

session.install('pytest')
session.install('-e', '.')

Expand Down
2 changes: 1 addition & 1 deletion datastore/google/cloud/datastore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
>>> entity['question'] = u'Life, universe?' # Explicit unicode for text
>>> entity['answer'] = 42
>>> entity
<Entity('EntityKind', 1234) {'answer': 42}>
<Entity('EntityKind', 1234) {'question': 'Life, universe?', 'answer': 42}>
>>> query = client.query(kind='EntityKind')
The main concepts with this API are:
Expand Down
3 changes: 3 additions & 0 deletions datastore/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ def system(session, py):
# Set the virtualenv dirname.
session.virtualenv_dirname = 'sys-' + py

# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
session.install('mock', 'pytest', *LOCAL_DEPS)
Expand Down
3 changes: 3 additions & 0 deletions dlp/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ def system(session, py):

session.virtualenv_dirname = 'sys-' + py

# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

session.install('pytest')
session.install('-e', '.')

Expand Down
3 changes: 3 additions & 0 deletions error_reporting/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ def system(session, py):
# Set the virtualenv dirname.
session.virtualenv_dirname = 'sys-' + py

# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
session.install('mock', 'pytest', *LOCAL_DEPS)
Expand Down
3 changes: 3 additions & 0 deletions firestore/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ def system(session, py):
# Set the virtualenv dirname.
session.virtualenv_dirname = 'sys-' + py

# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
session.install('mock', 'pytest', *LOCAL_DEPS)
Expand Down
3 changes: 3 additions & 0 deletions language/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ def system(session, py):
# Set the virtualenv dirname.
session.virtualenv_dirname = 'sys-' + py

# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
session.install('mock', 'pytest', *LOCAL_DEPS)
Expand Down
3 changes: 3 additions & 0 deletions logging/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ def system(session, py):
# Set the virtualenv dirname.
session.virtualenv_dirname = 'sys-' + py

# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
session.install('mock', 'pytest', *LOCAL_DEPS)
Expand Down
3 changes: 3 additions & 0 deletions monitoring/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ def system(session, py):
# Set the virtualenv dirname.
session.virtualenv_dirname = 'sys-' + py

# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
session.install('mock', 'pytest', *LOCAL_DEPS)
Expand Down
3 changes: 3 additions & 0 deletions pubsub/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ def system(session, py):
# Set the virtualenv dirname.
session.virtualenv_dirname = 'sys-' + py

# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
session.install('mock', 'pytest', *LOCAL_DEPS)
Expand Down
3 changes: 3 additions & 0 deletions spanner/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ def system(session, py):
# Set the virtualenv dirname.
session.virtualenv_dirname = 'sys-' + py

# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
session.install('mock', 'pytest', *LOCAL_DEPS)
Expand Down
3 changes: 3 additions & 0 deletions speech/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ def system(session, py):
# Set the virtualenv dirname.
session.virtualenv_dirname = 'sys-' + py

# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
session.install('mock', 'pytest', *LOCAL_DEPS)
Expand Down
3 changes: 3 additions & 0 deletions storage/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ def system(session, py):
# Set the virtualenv dirname.
session.virtualenv_dirname = 'sys-' + py

# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
session.install('mock', 'pytest', *LOCAL_DEPS)
Expand Down
3 changes: 3 additions & 0 deletions translate/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ def system(session, py):
# Set the virtualenv dirname.
session.virtualenv_dirname = 'sys-' + py

# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
session.install('mock', 'pytest', *LOCAL_DEPS)
Expand Down
3 changes: 3 additions & 0 deletions vision/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ def system(session, py):
# Set the virtualenv dirname.
session.virtualenv_dirname = 'sys-' + py

# Use pre-release gRPC for system tests.
session.install('--pre', 'grpcio')

# Install all test dependencies, then install this package in-place.
session.install('pytest', '../core/', '../storage/')
session.install('../test_utils/')
Expand Down

0 comments on commit 5644f15

Please sign in to comment.