code: def test_get_invalid_embed():
      url = "https://plotly.com/~PlotBot/a/"
      with pytest.raises(PlotlyError):
          tls.get_embed(url)
  
file_path: plotly.py/packages/python/chart-studio/chart_studio/tests/test_core/test_tools/test_get_embed.py
imports: from __future__ import absolute_import
  from unittest import TestCase
  import pytest
  import chart_studio.tools
  from _plotly_utils.exceptions import PlotlyError
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_invalid_embed() without return types