Skip to content

Commit 7bd960a

Browse files
committed
Adding Bigtable system tests to tox environment (for Py2.7 only).
1 parent 98edc64 commit 7bd960a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

system_tests/attempt_system_tests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
'pubsub',
3636
'bigquery',
3737
)
38+
if sys.version_info[:2] == (2, 7):
39+
MODULES += ('bigtable', 'bigtable-happybase')
40+
3841
SCRIPTS_DIR = os.path.dirname(__file__)
3942
ROOT_DIR = os.path.abspath(os.path.join(SCRIPTS_DIR, '..'))
4043
ENCRYPTED_KEYFILE = os.path.join(ROOT_DIR, 'system_tests', 'key.json.enc')

tox.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,11 @@ basepython =
9898
python2.7
9999
commands =
100100
python {toxinidir}/system_tests/attempt_system_tests.py
101+
setenv =
102+
PYTHONPATH =
103+
deps =
104+
{[testenv]deps}
105+
grpcio >= 0.13.0
101106
passenv = GOOGLE_* GCLOUD_* TRAVIS* encrypted_*
102107

103108
[testenv:system-tests3]

0 commit comments

Comments
 (0)