tests: check PATCH/PUT methods for real
This commit is contained in:
parent
08ea74c03c
commit
fa4fb4e355
|
@ -142,7 +142,7 @@ def test_webservice_post_put_patch(http_requests, pub):
|
|||
for method in ('POST', 'PUT', 'PATCH'):
|
||||
wscall = NamedWsCall()
|
||||
wscall.name = 'Hello world'
|
||||
wscall.request = {'method': 'PUT', 'post_data': {'toto': 'coin'},
|
||||
wscall.request = {'method': method, 'post_data': {'toto': 'coin'},
|
||||
'url': 'http://remote.example.net/json'}
|
||||
try:
|
||||
wscall.call()
|
||||
|
|
Loading…
Reference in New Issue