code: def test_camera(default_theme):
      with pytest.raises(TypeError):
          default_theme.camera = [1, 0, 0]
  
      with pytest.raises(KeyError, match='Expected the "viewup"'):
          default_theme.camera = {"position": [1, 0, 0]}
  
      with pytest.raises(KeyError, match='Expected the "position"'):
          default_theme.camera = {"viewup": [1, 0, 0]}
  
      camera = {"position": [1, 0, 0], "viewup": [1, 0, 0]}
      default_theme.camera = camera
      assert default_theme.camera == camera
  
imports: import os
  import pytest
  import vtk
  import pyvista
  from pyvista import colors
  from pyvista.examples.downloads import download_file
  from pyvista.plotting.themes import DarkTheme, Theme, _set_plot_theme_from_env
  from pyvista.plotting.utilities.gl_checks import uses_egl
label_desc: Use image node_id 33 for calling a global function with example usage: test_camera(default_theme) without return types