def test_deauthorize(self, connection, device): response = connection.devices.deauthorize(device["computerId"]) assert_successful_response(response)
def test_get_all_user_restore_history(self, connection, device): for response in connection.archive.get_all_user_restore_history( 1, device["userId"]): assert_successful_response(response) break
def test_get_by_archive_guid(self, connection, archive_guid): response = connection.archive.get_by_archive_guid(archive_guid) assert_successful_response(response)
def test_get_page(self, connection): response = connection.users.get_page(1) assert_successful_response(response)
def test_get_all_by_device_guid(self, connection, device): for response in connection.archive.get_all_by_device_guid( device["computerId"]): assert_successful_response(response) break
def test_get_available_roles(self, connection): response = connection.users.get_available_roles() assert_successful_response(response)
def test_reactivate(self, connection, new_user): response = connection.users.get_roles(new_user["userId"]) assert_successful_response(response)
def test_get_agent_state(self, connection, org): response = connection.orgs.get_agent_state(org["orgId"], "fullDiskAccess") assert_successful_response(response)
def test_get_by_uid(self, connection, org): response = connection.orgs.get_by_uid(org["orgUid"]) assert_successful_response(response)
def test_unblock(self, connection, device): response = connection.devices.unblock(device["computerId"]) assert_successful_response(response)
def test_get_agent_full_disk_access_state(self, connection, device): response = connection.devices.get_agent_full_disk_access_state( device["guid"]) assert_successful_response(response)
def test_get_page(self, connection, device): response = connection.devices.get_page(1) assert_successful_response(response)
def test_get_all(self, connection, device): response_gen = connection.devices.get_all() for response in response_gen: assert_successful_response(response) break
def test_reactivate(self, connection, device): response = connection.devices.reactivate(device["computerId"]) assert_successful_response(response)
def test_get_scim_data_by_uid(self, connection, new_user): response = connection.users.get_scim_data_by_uid(new_user["userUid"]) assert_successful_response(response)
def test_reactivate(self, connection, org): response = connection.orgs.reactivate(org["orgId"]) assert_successful_response(response)
def test_change_org_assignment(self, connection, new_user, org): response = connection.users.change_org_assignment( new_user["userId"], org["parentOrgId"]) assert_successful_response(response)
def test_unblock(self, connection, org): response = connection.orgs.unblock(org["orgId"]) assert_successful_response(response)
def test_get_current(self, connection): response = connection.users.get_current() assert_successful_response(response)
def test_get_agent_full_disk_access_states(self, connection, org): response = connection.orgs.get_agent_full_disk_access_states( org["orgId"]) assert_successful_response(response)
def test_get_by_id(self, connection, new_user): response = connection.users.get_by_id(new_user["userId"]) assert_successful_response(response)
def test_update_trusted_activity(self, connection, trusted_activity): response = connection.trustedactivities.update( trusted_activity["resourceId"], description="integration test case") assert_successful_response(response)
def test_add_role(self, connection, new_user): response = connection.users.add_role(new_user["userId"], role) assert_successful_response(response)
def test_delete_trusted_activity(self, connection, trusted_activity): response = connection.trustedactivities.delete( trusted_activity["resourceId"]) assert_successful_response(response)
def test_get_all_org_cold_storage_archives(self, connection, device): for response in connection.archive.get_all_org_cold_storage_archives( device["orgId"]): assert_successful_response(response) break
def test_block(self, connection, new_user): response = connection.users.block(new_user["userId"]) assert_successful_response(response)
def test_get_backup_sets(self, connection, device_guid, destination_device_guid): response = connection.archive.get_backup_sets(device_guid, destination_device_guid) assert_successful_response(response)
def test_get_all(self, connection): response_gen = connection.users.get_all() for response in response_gen: assert_successful_response(response)
def test_stream_from_backup(self, connection, device_guid, path): response = connection.archive.stream_from_backup(path, device_guid) assert_successful_response(response)
def test_get_by_id(self, connection, device): response = connection.devices.get_by_id(device["computerId"]) assert_successful_response(response)