def test_state_save_with_data_layers(): app = GlueApplication() dc = app.data_collection d = Data(x=[1, 2, 3], label='test') dc.append(d) w = app.new_data_viewer(viewer._widget_cls) w.add_data(d) check_clone_app(app)
def test_state_save(): app = GlueApplication() w = app.new_data_viewer(viewer._widget_cls) check_clone_app(app)