code: def test_rotate():
      """Test color rotation function"""
      assert rotate("#000", 45) == "#000"
      assert rotate("#fff", 45) == "#fff"
      assert rotate("#811", 45) == "#886a11"
      assert rotate("#8a8", 360) == "#8a8"
      assert rotate("#8a8", 0) == "#8a8"
      assert rotate("#8a8", -360) == "#8a8"
  
imports: from __future__ import division
  from pygal.colors import darken, desaturate, hsl_to_rgb, lighten, parse_color, rgb_to_hsl, rotate, saturate, unparse_color
label_desc: Use image node_id 7 for calling a global function with example usage: test_rotate() without return types