@@ -119,7 +119,7 @@ def test_get_info_uri(request):
119
119
request .assert_called_once_with (
120
120
'GET' ,
121
121
'%s/api/v1/info' % SHAARLI_URL ,
122
- auth = mock .ANY ,
122
+ headers = mock .ANY ,
123
123
verify = True ,
124
124
params = {}
125
125
)
@@ -145,7 +145,7 @@ def test_get_links_uri(request):
145
145
request .assert_called_once_with (
146
146
'GET' ,
147
147
'%s/api/v1/links' % SHAARLI_URL ,
148
- auth = mock .ANY ,
148
+ headers = mock .ANY ,
149
149
verify = True ,
150
150
params = {}
151
151
)
@@ -187,7 +187,7 @@ def test_post_links_uri(request):
187
187
request .assert_called_once_with (
188
188
'POST' ,
189
189
'%s/api/v1/links' % SHAARLI_URL ,
190
- auth = mock .ANY ,
190
+ headers = mock .ANY ,
191
191
json = {}
192
192
)
193
193
@@ -229,7 +229,7 @@ def test_put_links_uri(request):
229
229
request .assert_called_once_with (
230
230
'PUT' ,
231
231
'%s/api/v1/links/12' % SHAARLI_URL ,
232
- auth = mock .ANY ,
232
+ headers = mock .ANY ,
233
233
json = {}
234
234
)
235
235
@@ -288,7 +288,7 @@ def test_get_tags_uri(request):
288
288
request .assert_called_once_with (
289
289
'GET' ,
290
290
'%s/api/v1/tags' % SHAARLI_URL ,
291
- auth = mock .ANY ,
291
+ headers = mock .ANY ,
292
292
verify = True ,
293
293
params = {}
294
294
)
@@ -301,7 +301,7 @@ def test_put_tags_uri(request):
301
301
request .assert_called_once_with (
302
302
'PUT' ,
303
303
'%s/api/v1/tags/some-tag' % SHAARLI_URL ,
304
- auth = mock .ANY ,
304
+ headers = mock .ANY ,
305
305
json = {}
306
306
)
307
307
@@ -340,7 +340,7 @@ def test_delete_tags_uri(request):
340
340
request .assert_called_once_with (
341
341
'DELETE' ,
342
342
'%s/api/v1/tags/some-tag' % SHAARLI_URL ,
343
- auth = mock .ANY ,
343
+ headers = mock .ANY ,
344
344
json = {}
345
345
)
346
346
0 commit comments