@@ -85,22 +85,25 @@ def test_RegisterAppInterfaceRequest(self):
8585 expected ['methods' ] = (self .producer .methods (key = 'KEY_SDL_MSG_VERSION' ,
8686 method_title = 'SdlMsgVersion' , external = 'SdlMsgVersion' ,
8787 description = ['See SyncMsgVersion' ], param_name = 'version' ,
88- type = 'SdlMsgVersion' ),
88+ type = 'SdlMsgVersion' , param_values = {}, since = None , history = None , deprecated = None ),
8989 self .producer .methods (key = 'KEY_FULL_APP_ID' , method_title = 'FullAppID' ,
9090 external = None , description = ['ID used' ], param_name = 'id' ,
91- type = 'String' ),
91+ type = 'String' , param_values = {}, since = None , history = None , deprecated = None ),
9292 self .producer .methods (key = 'KEY_DAY_COLOR_SCHEME' , param_name = 'scheme' ,
9393 method_title = 'DayColorScheme' , external = 'TemplateColorScheme' ,
9494 description = ['A color scheme for all display layout templates.' ],
95- type = 'TemplateColorScheme' ),
95+ type = 'TemplateColorScheme' , param_values = {}, since = None , history = None , deprecated = None ),
9696 self .producer .methods (key = 'KEY_TTS_NAME' , param_name = 'name' ,
9797 method_title = 'TtsName' , external = 'TTSChunk' ,
98- description = ['TTS string for' ], type = 'TTSChunk[]' ))
98+ description = ['TTS string for' ], type = 'TTSChunk[]' , param_values = {}, since = None , history = None , deprecated = None ))
9999 expected ['params' ] = (self .producer .params (key = 'KEY_SDL_MSG_VERSION' , value = "'syncMsgVersion'" ),
100100 self .producer .params (key = 'KEY_FULL_APP_ID' , value = "'fullAppID'" ),
101101 self .producer .params (key = 'KEY_DAY_COLOR_SCHEME' , value = "'dayColorScheme'" ),
102102 self .producer .params (key = 'KEY_TTS_NAME' , value = "'ttsName'" ),
103103 self .producer .params (key = 'APP_ID_MAX_LENGTH' , value = 10 ))
104+ expected ['since' ] = None
105+ expected ['history' ] = None
106+ expected ['deprecated' ] = None
104107 expected ['func' ] = 'RegisterAppInterface'
105108 expected ['extend' ] = 'RpcRequest'
106109
@@ -128,14 +131,17 @@ def test_RegisterAppInterfaceResponse(self):
128131 expected ['methods' ] = (self .producer .methods (key = 'KEY_LANGUAGE' ,
129132 method_title = 'Language' , external = 'Language' ,
130133 description = ['The currently' ], param_name = 'language' ,
131- type = 'Language' ),
134+ type = 'Language' , param_values = {}, since = None , history = None , deprecated = None ),
132135 self .producer .methods (key = 'KEY_SUPPORTED_DIAG_MODES' ,
133136 method_title = 'SupportedDiagModes' , external = None ,
134137 description = ['Specifies the' ], param_name = 'modes' ,
135- type = 'Number[]' ))
138+ type = 'Number[]' , param_values = {}, since = None , history = None , deprecated = None ))
136139 expected ['params' ] = (self .producer .params (key = 'KEY_LANGUAGE' , value = "'language'" ),
137140 self .producer .params (key = 'KEY_SUPPORTED_DIAG_MODES' , value = "'supportedDiagModes'" ))
138141 expected ['description' ] = ['The response' ]
142+ expected ['since' ] = None
143+ expected ['history' ] = None
144+ expected ['deprecated' ] = None
139145 expected ['func' ] = 'RegisterAppInterface'
140146 expected ['extend' ] = 'RpcResponse'
141147 result = self .producer .transform (item )
@@ -151,6 +157,9 @@ def test_UnregisterAppInterfaceRequest(self):
151157 self .producer .imports (what = 'FunctionID' , wherefrom = '../enums/FunctionID.js' )}
152158 expected ['methods' ] = ()
153159 expected ['params' ] = ()
160+ expected ['since' ] = None
161+ expected ['history' ] = None
162+ expected ['deprecated' ] = None
154163 expected ['func' ] = 'UnregisterAppInterface'
155164 expected ['extend' ] = 'RpcRequest'
156165 result = self .producer .transform (item )
@@ -173,9 +182,12 @@ def test_PutFileRequest(self):
173182 expected ['methods' ] = (self .producer .methods (key = 'KEY_FILE_TYPE' ,
174183 method_title = 'FileType' , external = 'FileType' ,
175184 description = ['Selected file type.' ], param_name = 'type' ,
176- type = 'FileType' ),)
185+ type = 'FileType' , param_values = {}, since = None , history = None , deprecated = None ),)
177186 expected ['params' ] = (self .producer .params (key = 'KEY_FILE_TYPE' , value = "'fileType'" ),)
178187 expected ['description' ] = ['Used to' ]
188+ expected ['since' ] = None
189+ expected ['history' ] = None
190+ expected ['deprecated' ] = None
179191 expected ['script' ] = self .producer .get_file_content ('templates/scripts/PutFileRequest.js' )
180192 expected ['func' ] = 'PutFile'
181193 expected ['extend' ] = 'RpcRequest'
@@ -196,9 +208,12 @@ def test_OnEncodedSyncPDataNotification(self):
196208 expected ['methods' ] = (self .producer .methods (key = 'KEY_URL' ,
197209 method_title = 'URL' , external = None ,
198210 description = ['If' ], param_name = 'url' ,
199- type = 'String' ),)
211+ type = 'String' , param_values = {}, since = None , history = None , deprecated = None ),)
200212 expected ['params' ] = (self .producer .params (key = 'KEY_URL' , value = "'URL'" ),)
201213 expected ['description' ] = ['Callback including' ]
214+ expected ['since' ] = None
215+ expected ['history' ] = None
216+ expected ['deprecated' ] = None
202217 expected ['func' ] = 'OnEncodedSyncPData'
203218 expected ['extend' ] = 'RpcNotification'
204219 result = self .producer .transform (item )
@@ -220,9 +235,12 @@ def test_CreateInteractionChoiceSetRequest(self):
220235 expected ['methods' ] = (self .producer .methods (key = 'KEY_CHOICE_SET' ,
221236 method_title = 'ChoiceSet' , external = 'Choice' ,
222237 description = ['A choice is an option given to' ], param_name = 'set' ,
223- type = 'Choice[]' ),)
238+ type = 'Choice[]' , param_values = {}, since = None , history = None , deprecated = None ),)
224239 expected ['params' ] = (self .producer .params (key = 'KEY_CHOICE_SET' , value = "'choiceSet'" ),)
225240 expected ['description' ] = ['creates interaction' ]
241+ expected ['since' ] = None
242+ expected ['history' ] = None
243+ expected ['deprecated' ] = None
226244 expected ['func' ] = 'CreateInteractionChoiceSet'
227245 expected ['extend' ] = 'RpcRequest'
228246 result = self .producer .transform (item )
0 commit comments