code: def test_raises_invalid_property_name(self):
      with self.assertRaises(ValueError):
          go.Figure(
              data=[{"type": "bar", "bogus": 123}],
              layout={"bogus": 23, "title": "Figure title"},
              frames=[
                  {
                      "data": [{"type": "bar", "bogus": 123}],
                      "layout": {"bogus": 23, "title": "Figure title"},
                  }
              ],
          )
  
imports: import plotly.graph_objects
  from plotly.subplots import make_subplots
  from plotly.tests.utils import TestCaseNoTemplate
  import pytest
label_desc: Use image node_id 5 for calling the FigureTest obj's underlying member method code with example usage: obj.test_raises_invalid_property_name() without return types