def test__getAdmlPresentationRefId_result_text_is_none(self): ref_id = "LetAppsAccessAccountInfo_UserInControlOfTheseApps_List" expected = ( "Put user in control of these specific apps (use Package Family Names)" ) result = win_lgpo._getAdmlPresentationRefId(self.adml_data, ref_id) self.assertEqual(result, expected)
def test__getAdmlPresentationRefId(self): ref_id = "LetAppsAccessAccountInfo_Enum" expected = "Default for all apps" result = win_lgpo._getAdmlPresentationRefId(self.adml_data, ref_id) self.assertEqual(result, expected)