code: def test_pat014_patch_div():
      p = Patch()
      p.divby /= 2
  
      data = patch_to_dict(p)
  
      assert data["operations"][0] == {
          "operation": "Div",
          "location": ["divby"],
          "params": {"value": 2},
      }
  
imports: import json
  import pytest
  from dash import Patch
  from dash._utils import to_json
label_desc: Use image node_id 15 for calling a global function with example usage: test_pat014_patch_div() without return types