File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ def test_name_valid(
378
378
],
379
379
)
380
380
def test_name_invalid (
381
- name : str ,
381
+ name : str | int | None ,
382
382
image_file_failed_state : io .BytesIO ,
383
383
status_code : int ,
384
384
vws_client : VWS ,
@@ -392,7 +392,7 @@ def test_name_invalid(
392
392
expected_exception = OopsAnErrorOccurredPossiblyBadName ,
393
393
) as oops_exc :
394
394
vws_client .add_target (
395
- name = name ,
395
+ name = name , # type: ignore[arg-type]
396
396
width = 1 ,
397
397
image = image_file_failed_state ,
398
398
application_metadata = None ,
@@ -404,7 +404,7 @@ def test_name_invalid(
404
404
405
405
with pytest .raises (expected_exception = Fail ) as exc :
406
406
vws_client .add_target (
407
- name = name ,
407
+ name = name , # type: ignore[arg-type]
408
408
width = 1 ,
409
409
image = image_file_failed_state ,
410
410
application_metadata = None ,
Original file line number Diff line number Diff line change @@ -545,7 +545,7 @@ def test_name_valid(
545
545
],
546
546
)
547
547
def test_name_invalid (
548
- name : str ,
548
+ name : str | int | None ,
549
549
target_id : str ,
550
550
vuforia_database : VuforiaDatabase ,
551
551
vws_client : VWS ,
You can’t perform that action at this time.
0 commit comments