Ejemplo n.º 1
0
 def patch_twin_reported_properties_op(self, mocker):
     return pipeline_ops_iothub.PatchTwinReportedPropertiesOperation(
         patch={"json_key": "json_val"}, callback=mocker.MagicMock()
     )
 def op(self, stage, mocker, patch):
     op = pipeline_ops_iothub.PatchTwinReportedPropertiesOperation(
         patch=patch, callback=mocker.MagicMock()
     )
     mocker.spy(op, "complete")
     return op
Ejemplo n.º 3
0
 def op(self, mocker, json_patch):
     return pipeline_ops_iothub.PatchTwinReportedPropertiesOperation(
         patch=json_patch, callback=mocker.MagicMock()
     )
 def op(self, stage, callback, patch):
     return pipeline_ops_iothub.PatchTwinReportedPropertiesOperation(
         patch=patch, callback=callback
     )