0005-dummy-extend-parameters-description-for-testing-4303.patch
eopayment/dummy.py | ||
---|---|---|
91 | 91 |
{ |
92 | 92 |
'name': 'siret', |
93 | 93 |
'caption': 'dummy siret parameter', |
94 |
'validation': lambda x: x.isdigit(), |
|
95 |
'validation_err_msg': 'must be a number', |
|
94 | 96 |
'type': str, |
95 |
'default': 'siret', |
|
97 |
'default': '1234', |
|
98 |
'required': True, |
|
96 | 99 |
}, |
97 | 100 |
{ |
98 | 101 |
'name': 'consider_all_response_signed', |
... | ... | |
104 | 107 |
'type': bool, |
105 | 108 |
'default': False, |
106 | 109 |
}, |
110 |
{ |
|
111 |
'name': 'number', |
|
112 |
'caption': 'dummy integer input test', |
|
113 |
'type': int, |
|
114 |
}, |
|
115 |
{ |
|
116 |
'name': 'choice', |
|
117 |
'caption': 'dummy choice input test', |
|
118 |
'choices': ['a', 'b'], |
|
119 |
}, |
|
120 |
{ |
|
121 |
'name': 'choices', |
|
122 |
'caption': 'dummy choices input test', |
|
123 |
'choices': ['a', 'b'], |
|
124 |
'type': list, |
|
125 |
}, |
|
107 | 126 |
{ |
108 | 127 |
'name': 'direct_notification_url', |
109 | 128 |
'caption': 'direct notification url (replaced by automatic_return_url)', |
110 |
- |