slaclab / pydm

Python Display Manager
http://slaclab.github.io/pydm/
Other
111 stars 76 forks source link

Fix event plot curve creation #1059

Closed jbellister-slac closed 5 months ago

jbellister-slac commented 5 months ago

Just adds the second '*' to the keyword arguments so they are handled properly. Added simple test case to cover this, as well as an example event plot that can be run.

Also includes a couple minor test updates to make the test suite compatible with pytest 8.0 and pytest-qt 4.3+

To reproduce can run the new test or example without the change to eventplot.py and see it fail

jbellister-slac commented 5 months ago

Test failures look to be due to this change: https://github.com/pytest-dev/pytest-qt/pull/515

Just need to update our conftest file to not pass the program name through