class_docstr: Test the device is created with the expected properties.
class_docstr_tok: ["Test","the","device","is","created","with","the","expected","properties","."]
docstr: Test that the device loads correctly.
docstr_tok: ["Test","that","the","device","loads","correctly","."]
code: def test_load_device(self, device_kwargs):
      """Test that the device loads correctly."""
      device_kwargs["wires"] = 2
      device_kwargs["shots"] = 1234
  
      dev = qml.device(**device_kwargs)
      assert dev.num_wires == 2
      assert dev.shots == 1234
      assert dev.short_name == device_kwargs["name"]
  
file_path: pennylane/pennylane/devices/tests/test_properties.py
imports: import pytest
  import pennylane.numpy
  import pennylane
  from pennylane._device import DeviceError
label_desc: Use image node_id 1 for calling the TestDeviceProperties obj's underlying member method code with example usage: obj.test_load_device(device_kwargs) without return types