class_docstr: Tests for a device with only a minimal execute provided.
class_docstr_tok: ["Tests","for","a","device","with","only","a","minimal","execute","provided","."]
docstr: Test default behavior for shots.
docstr_tok: ["Test","default","behavior","for","shots","."]
code: def test_shots(self):
      """Test default behavior for shots."""
  
      assert self.dev.shots == qml.measurements.Shots(None)
  
      shots_dev = self.MinimalDevice(shots=100)
      assert shots_dev.shots == qml.measurements.Shots(100)
  
      with pytest.raises(AttributeError):
          self.dev.shots = 100
  
imports: import pytest
  import pennylane
  from pennylane.devices import Device, ExecutionConfig, DefaultExecutionConfig
  from pennylane.wires import Wires
label_desc: Use image node_id 3 for calling the TestMinimalDevice obj's underlying member method code with example usage: obj.test_shots() without return types