Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback option added to junos_jsnapy to control printing of JSNAPy info and error messages, updated jsnapy callback #252

Closed
wants to merge 3 commits into from

Conversation

jnpr-bowen
Copy link

Added 'callback' option to junos_jsnapy to control printing of messages set in jsnapy test.
Added code in jsnapy.py to print test info and error messages contained in test
results structure. Whether error and/or info messages are printed is
controlled by the module option 'callback'.

set in jsnapy test.
Added code in jsnapy.py to print test info and error messages contained in test
results structure. Whether error and/or info messages are printed is
controlled by the module option 'callback'.
@jnpr-bowen
Copy link
Author

JSNAPy error messages distinguish between error from test results (error message set), error from XPath error flag set, and general error of test execution.

@stacywsmith
Copy link
Contributor

@jnpr-bowen I want to merge/cherry-pick this functionality. However, this depends on JSNAPy 1.2.0. Because of the logging bug in 1.2.0, we really need to wait until the next JSNAPy release before incorporating this functionality. I'll look into this after the next JSNAPy release (which should happen fairly soon).

@jnpr-bowen
Copy link
Author

jnpr-bowen commented Nov 7, 2017 via email

@vnitinv
Copy link
Contributor

vnitinv commented May 15, 2018

@jnpr-bowen Closing this pull request as per discussion above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants