Skip to content

Commit

Permalink
Merge pull request #2480 from meeseeksmachine/auto-backport-of-pr-247…
Browse files Browse the repository at this point in the history
…8-on-v3.7.x

Backport PR #2478 on branch v3.7.x (TST: Fix specviz2d test failure)
  • Loading branch information
pllim authored Sep 22, 2023
2 parents 7accf87 + 80ac437 commit e001a34
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ def test_plugin(specviz2d_helper):
trace = pext.export_trace(add_data=True) # overwrite
assert isinstance(trace, tracing.ArrayTrace)

# TODO: Investigate extra hidden mark from glue-jupyter, see
# https://github.com/spacetelescope/jdaviz/pull/2478#issuecomment-1731864411
# 3 new trace objects should have been loaded and plotted in the spectrum-2d-viewer
assert len(sp2dv.figure.marks) == 14
assert len(sp2dv.figure.marks) == 15

# interact with background section, check marks
pext.trace_trace_selected = 'New Trace'
Expand Down

0 comments on commit e001a34

Please sign in to comment.