class_docstr: Integration tests for default.gaussian. This test ensures it integrates
  properly with the PennyLane interface, in particular QNode.
class_docstr_tok: ["Integration","tests","for","default.gaussian",".","This","test","ensures","it","integrates","properly","with","the","PennyLane","interface",",","in","particular","QNode","."]
docstr: Test that the device defines the right capabilities
docstr_tok: ["Test","that","the","device","defines","the","right","capabilities"]
code: def test_defines_correct_capabilities(self):
      """Test that the device defines the right capabilities"""
  
      dev = qml.device("default.gaussian", wires=1)
      cap = dev.capabilities()
      capabilities = {
          "model": "cv",
          "supports_finite_shots": True,
          "returns_probs": False,
          "returns_state": False,
          "supports_analytic_computation": True,
          "supports_broadcasting": False,
      }
      assert cap == capabilities
  
imports: import numpy
  import numpy.random
  import pytest
  from scipy.linalg import block_diag
  from scipy.special import factorial
  import pennylane
  from pennylane import DeviceError
  from pennylane.devices.default_gaussian import fock_prob, rotation, squeezing, quadratic_phase, beamsplitter, two_mode_squeezing, controlled_addition, controlled_phase, vacuum_state, coherent_state, squeezed_state, displaced_squeezed_state, thermal_state
  from pennylane.wires import Wires
label_desc: Use image node_id 1 for calling the TestDefaultGaussianIntegration obj's underlying member method code with example usage: obj.test_defines_correct_capabilities() without return types