Skip to content

Commit

Permalink
Backport PR #2478: TST: Fix specviz2d test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim authored and meeseeksmachine committed Sep 22, 2023
1 parent 7accf87 commit 80ac437
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 80ac437

Please sign in to comment.