slaclab / trace

Live and Archived data plotting tool
https://slaclab.github.io/trace/
3 stars 4 forks source link

TST/FIX: ArchiveSearchWidget & TraceFileConvert Tests #84

Closed zdomke closed 4 days ago

zdomke commented 1 week ago

Adding tests for ArchiveSearchWidget and ArchiveResultsTableModel.

Fixing issues that came up during testing:

zdomke commented 1 week ago

Note: Tests for default model values and model validity will fail with the current version of PyDM (at the time of writing this) as some PyDM models will still return empty QVariants when a request is invalid. I have already made a PR for this: https://github.com/slaclab/pydm/pull/1122

Second Note: Some other test may fail due to a bug in FormulaCurveItems. I already have a PR to fix this bug as well. We can ignore tests with the same error message as the PR: https://github.com/slaclab/pydm/pull/1124

zdomke commented 4 days ago

Adding tests for TraceFileConvert.

Additional fixes that came up during testing