class_docstr: Tests the Shots class.
docstr: Tests the constructor when shots is an int.
docstr_tok: ["Tests","the","constructor","when","shots","is","an","int","."]
code: def test_int(self):
      """Tests the constructor when shots is an int."""
      shots = Shots(100)
      assert shots.shot_vector == (ShotCopies(100, 1),)
      assert shots.total_shots == 100
  
imports: import copy
  import pytest
  from pennylane.measurements import Shots, ShotCopies
label_desc: Use image node_id 4 for calling the TestShotsConstruction obj's underlying member method code with example usage: obj.test_int() without return types