spacetelescope / cubeviz

Data analysis package for cubes. https://cubeviz.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
15 stars 25 forks source link

Image Viewer tests: Title tests #511

Closed SaOgaz closed 5 years ago

SaOgaz commented 5 years ago

Part of #394

javerbukh commented 5 years ago

What is being tested here? @brechmos-stsci @drdavella @robelgeda

drdavella commented 5 years ago

I think the idea is to make sure the title in the matplotlib viewers accurately reflects the data that is being displayed:

image

In this case, we want to make sure that the title ("018.DATA") corresponds to the data component that is being displayed in that viewer.

The test for this should be pretty simple: just make sure the expected title is being displayed at the start of the test, and then change the data being displayed and check the title to make sure it's updated appropriately.