@@ -49,7 +49,7 @@ def test_client_project_context__raises():
49
49
client ._required_user_context (override_context = None )
50
50
51
51
52
- def test_client_search (client , httpx_mock , auth_token ):
52
+ def test_client_search (client , httpx_mock ):
53
53
id1 = uuid .uuid4 ()
54
54
id2 = uuid .uuid4 ()
55
55
@@ -76,7 +76,7 @@ def test_client_search(client, httpx_mock, auth_token):
76
76
77
77
78
78
@patch ("entitysdk.route.get_route_name" )
79
- def test_client_nupdate (mocked_route , client , httpx_mock , auth_token ):
79
+ def test_client_nupdate (mocked_route , client , httpx_mock ):
80
80
class Foo (Identifiable ):
81
81
name : str
82
82
@@ -135,8 +135,6 @@ def test_client_upload_file(
135
135
client ,
136
136
httpx_mock ,
137
137
api_url ,
138
- project_context ,
139
- auth_token ,
140
138
request_headers ,
141
139
):
142
140
entity_id = uuid .uuid4 ()
@@ -164,9 +162,7 @@ def test_client_upload_file(
164
162
assert res .id == asset_id
165
163
166
164
167
- def test_client_upload_content (
168
- client , httpx_mock , api_url , project_context , auth_token , request_headers
169
- ):
165
+ def test_client_upload_content (client , httpx_mock , api_url , request_headers ):
170
166
entity_id = uuid .uuid4 ()
171
167
asset_id = uuid .uuid4 ()
172
168
@@ -196,9 +192,7 @@ def test_client_upload_content(
196
192
assert res .id == asset_id
197
193
198
194
199
- def test_client_download_content (
200
- client , httpx_mock , api_url , project_context , auth_token , request_headers
201
- ):
195
+ def test_client_download_content (client , httpx_mock , api_url , request_headers ):
202
196
entity_id = uuid .uuid4 ()
203
197
asset_id = uuid .uuid4 ()
204
198
@@ -222,8 +216,6 @@ def test_client_download_file__output_file(
222
216
client ,
223
217
httpx_mock ,
224
218
api_url ,
225
- project_context ,
226
- auth_token ,
227
219
request_headers ,
228
220
):
229
221
entity_id = uuid .uuid4 ()
@@ -258,8 +250,6 @@ def test_client_download_file__output_file__inconsistent_ext(
258
250
client ,
259
251
httpx_mock ,
260
252
api_url ,
261
- project_context ,
262
- auth_token ,
263
253
request_headers ,
264
254
):
265
255
"""User must provide a path extension that is consitent with the asset path."""
@@ -291,8 +281,6 @@ def test_client_download_file__output_file__user_subdirectory_path(
291
281
client ,
292
282
httpx_mock ,
293
283
api_url ,
294
- project_context ,
295
- auth_token ,
296
284
request_headers ,
297
285
):
298
286
"""User provides a nested output path that overrides the asset path."""
@@ -330,8 +318,6 @@ def test_client_download_file__asset_subdirectory_paths(
330
318
client ,
331
319
httpx_mock ,
332
320
api_url ,
333
- project_context ,
334
- auth_token ,
335
321
request_headers ,
336
322
):
337
323
"""User provides directory, relative file paths from assets are written to it."""
@@ -389,8 +375,6 @@ def test_client_get(
389
375
client ,
390
376
httpx_mock ,
391
377
api_url ,
392
- project_context ,
393
- auth_token ,
394
378
request_headers ,
395
379
):
396
380
entity_id = uuid .uuid4 ()
@@ -445,8 +429,6 @@ def test_client_delete_asset(
445
429
client ,
446
430
httpx_mock ,
447
431
api_url ,
448
- project_context ,
449
- auth_token ,
450
432
request_headers ,
451
433
):
452
434
mock_route .return_value = "reconstruction-morphology"
@@ -478,8 +460,6 @@ def test_client_update_asset(
478
460
client ,
479
461
httpx_mock ,
480
462
api_url ,
481
- project_context ,
482
- auth_token ,
483
463
request_headers ,
484
464
):
485
465
mock_route .return_value = "reconstruction-morphology"
@@ -517,7 +497,7 @@ def test_client_update_asset(
517
497
518
498
519
499
def test_client_download_assets (
520
- tmp_path , api_url , client , project_context , auth_token , request_headers , httpx_mock
500
+ tmp_path , api_url , client , project_context , request_headers , httpx_mock
521
501
):
522
502
entity_id = uuid .uuid4 ()
523
503
asset1_id = uuid .uuid4 ()
@@ -564,7 +544,7 @@ def test_client_download_assets(
564
544
565
545
566
546
def test_client_download_assets__no_assets_raise (
567
- tmp_path , api_url , client , project_context , auth_token , request_headers , httpx_mock
547
+ tmp_path , api_url , client , project_context , request_headers , httpx_mock
568
548
):
569
549
entity_id = uuid .uuid4 ()
570
550
@@ -585,7 +565,7 @@ def test_client_download_assets__no_assets_raise(
585
565
586
566
587
567
def test_client_download_assets__non_entity (
588
- tmp_path , api_url , client , project_context , auth_token , request_headers , httpx_mock
568
+ tmp_path , api_url , client , project_context , request_headers , httpx_mock
589
569
):
590
570
entity_id = uuid .uuid4 ()
591
571
@@ -606,7 +586,7 @@ def test_client_download_assets__non_entity(
606
586
607
587
608
588
def test_client_download_assets__directory_not_supported (
609
- tmp_path , api_url , client , project_context , auth_token , request_headers , httpx_mock
589
+ tmp_path , api_url , client , project_context , request_headers , httpx_mock
610
590
):
611
591
entity_id = uuid .uuid4 ()
612
592
asset_id = uuid .uuid4 ()
@@ -630,7 +610,7 @@ def test_client_download_assets__directory_not_supported(
630
610
631
611
632
612
def test_client_download_assets__entity (
633
- tmp_path , api_url , client , project_context , auth_token , request_headers , httpx_mock
613
+ tmp_path , api_url , client , project_context , request_headers , httpx_mock
634
614
):
635
615
entity_id = uuid .uuid4 ()
636
616
asset_id = uuid .uuid4 ()
0 commit comments