File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 MdmCommandRequest ,
2525 PlayLostModeSoundCommand ,
2626 ProvisioningProfileListCommand ,
27+ RedeployManagementFrameworkResponse ,
2728 RefreshCellularPlansCommand ,
2829 RequestMirroringCommand ,
2930 RestartDeviceCommand ,
@@ -226,3 +227,11 @@ def test_mdm_command_request_parsing_from_dict():
226227 assert len (request .clientData ) == 2
227228 assert request .commandData .commandType == "ERASE_DEVICE"
228229 assert request .commandData .pin == "654321"
230+
231+
232+ def test_redeploy_management_framework_response_parsing ():
233+ """Verify the redeploy management framework response parses from the API JSON."""
234+ raw = {"deviceId" : "123" , "commandUuid" : "4eecc1fb-f52d-48c5-9560-c246b23601d3" }
235+ response = RedeployManagementFrameworkResponse .model_validate (raw )
236+ assert response .deviceId == "123"
237+ assert response .commandUuid == "4eecc1fb-f52d-48c5-9560-c246b23601d3"
You can’t perform that action at this time.
0 commit comments