code: def test_embed_data_two_widgets(self):
      w1 = IntText(4)
      w2 = IntSlider(min=0, max=100)
      jslink((w1, "value"), (w2, "value"))
      state = dependency_state([w1, w2], drop_defaults=True)
      data = embed_data(views=[w1, w2], drop_defaults=True, state=state)
  
      state = data["manager_state"]["state"]
      views = data["view_specs"]
  
      assert len(state) == 7
      assert len(views) == 2
  
      model_names = [s["model_name"] for s in state.values()]
      assert "IntTextModel" in model_names
      assert "IntSliderModel" in model_names
  
file_path: catboost/contrib/python/ipywidgets/py2/ipywidgets/tests/test_embed.py
imports: import json
  import os
  import re
  import tempfile
  import shutil
  import traitlets
  from ipywidgets.widgets import IntSlider, IntText, Text, Widget, jslink, HBox, widget_serialization
  from ipywidgets.embed import embed_data, embed_snippet, embed_minimal_html, dependency_state
label_desc: Use image node_id 5 for calling the TestEmbed obj's underlying member method code with example usage: obj.test_embed_data_two_widgets() without return types