Skip to content

Add some basic smoketesting for webagg (and wx). #10823

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

Merged
merged 1 commit into from
Mar 19, 2018

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Mar 17, 2018

PR Summary

Adds some (smoke)testing for #10708. This basically just checks that the server sets up correctly and closes cleanly on ctrl-c.
If you know how to actually trigger a draw on the websocket (and thus trigger the draw_event handler of the other backends), feel free to push a better method to this PR...

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

@tacaswell tacaswell added this to the v3.0 milestone Mar 18, 2018
@tacaswell
Copy link
Member

The missing test coverage is the path that fails the webagg test.

@tacaswell
Copy link
Member

🎉 on 0.45% coverage increase!

@anntzer
Copy link
Contributor Author

anntzer commented Mar 18, 2018

Would actually be even nicer if some websockets expert knows how to send a draw request to the server...

@dopplershift dopplershift merged commit 6169fa2 into matplotlib:master Mar 19, 2018
@dopplershift
Copy link
Contributor

👍 to more testing!

@anntzer anntzer deleted the test_webagg branch March 19, 2018 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants