code: def test_add_asset_after_linking_views():
      scene = Scene()
      asset = assets.Asset()
      view1 = mock.Mock(view.View)
      view2 = mock.Mock(view.View)
      scene.link_view(view1)
      scene.link_view(view2)
  
      assert view1 in scene.views
      assert view2 in scene.views
      view1.add.assert_not_called()
      view2.add.assert_not_called()
  
      scene.add(asset)
  
      assert asset in scene.assets
      assert scene in asset.scenes
      view1.add.assert_called_once_with(asset)
      view2.add.assert_called_once_with(asset)
  
file_path: kubric/test/test_scene.py
imports: from unittest import mock
  from kubric.core.scene import Scene
  from kubric.core.cameras import PerspectiveCamera
  from kubric.core import assets
  from kubric.core import objects
  from kubric.core import materials
  from kubric.core import view
  from kubric.core.color import get_color
label_desc: Use image node_id 3 for calling a global function with example usage: test_add_asset_after_linking_views() without return types