Skip to content

Commit

Permalink
Replace usage of google.api.core with google.api_core (#4221)
Browse files Browse the repository at this point in the history
* Remove api.core packages from google.cloud.core, make google.cloud.core depend on api_core.

* s/google.api.core/google.api_core/g and nox updates

* Fixing core tests, addressing review feedback

* Fix bigquery
  • Loading branch information
Jon Wayne Parrott authored Oct 18, 2017
1 parent f7314e0 commit 44ad78c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/google-cloud-vision/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
import nox


LOCAL_DEPS = (
os.path.join('..', 'api_core'),
os.path.join('..', 'core'),
)


@nox.session
@nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6'])
def unit_tests(session, python_version):
Expand All @@ -31,7 +37,7 @@ def unit_tests(session, python_version):
session.virtualenv_dirname = 'unit-' + python_version

# Install all test dependencies, then install this package in-place.
session.install('mock', 'pytest', 'pytest-cov', '../core/')
session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS)
session.install('-e', '.')

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

0 comments on commit 44ad78c

Please sign in to comment.