Skip to content

Conversation

@waprin
Copy link
Contributor

@waprin waprin commented Apr 27, 2017

This is the bare minimal system test that just makes a client call, it did go red before the scope fix at least.

Can add more asserts but need to add more code to authenticate a separate gax client to list errors, can add that to this PR or a new one.

Fixes #3335

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 27, 2017
@waprin waprin changed the title Add basic system test Add basic system test for error reporting Apr 27, 2017
session.install('.')

# Run py.test against the system tests.
session.run('py.test', '-vvv', 'tests/system.py')

This comment was marked as spam.

This comment was marked as spam.


# Install all test dependencies, then install this package into the
# virtualenv's dist-packages.
session.install('.')

This comment was marked as spam.

try:
raise NameError
except NameError:
client.report_exception()

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@dhermes
Copy link
Contributor

dhermes commented May 2, 2017

Closing this in light of #3348

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error reporting system tests needed

3 participants