def test_createAutoFormHtml(self): # TODO : Add createAutoFormHtml() test data_dict = { "transType": "01", "sysReserved": "{aaa=a&bbb=b}", "merId": "888888888888888" } form_data = SDKUtil.createAutoFormHtml(data_dict, 'https://example.com') self.assertRegex(form_data, r'input.*hidden')
def createAutoFormHtml(params, reqUrl): return SDKUtil.createAutoFormHtml(params, reqUrl)