code: def test_rotation1():
      doc = fitz.open()
      page = doc.new_page()
      page.set_rotation(270)
      assert doc.xref_get_key(page.xref, "Rotate") == ("int", "270")
  
imports: import fitz
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: test_rotation1() without return types