code: def test_to_dict_doesnt_include_embed_params(self):
      self.query_params._query_params = {
          "foo": "bar",
          "embed": "true",
          "embed_options": ["show_colored_line", "disable_scrolling"],
      }
      result_dict = {"foo": "bar"}
      assert self.query_params.to_dict() == result_dict
  
imports: import pytest
  from streamlit.errors import StreamlitAPIException
  from streamlit.runtime.state.query_params import QueryParams
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 35 for calling the QueryParamsMethodTests obj's underlying member method code with example usage: obj.test_to_dict_doesnt_include_embed_params() without return types