From e071cad101ec805164208adabff1ebf83f734d87 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 27 Nov 2024 08:57:51 -0500 Subject: [PATCH] Add type annotation for mocker Co-authored-by: John T. Wodder II --- dandi/tests/test_upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dandi/tests/test_upload.py b/dandi/tests/test_upload.py index 1bd372414..ac1773fb4 100644 --- a/dandi/tests/test_upload.py +++ b/dandi/tests/test_upload.py @@ -252,7 +252,7 @@ def test_upload_bids_non_nwb_file(bids_dandiset: SampleDandiset) -> None: @sweep_embargo -def test_upload_sync_zarr(mocker, zarr_dandiset: SampleDandiset, embargo: bool) -> None: +def test_upload_sync_zarr(mocker: MockerFixture, zarr_dandiset: SampleDandiset, embargo: bool) -> None: assert zarr_dandiset.dandiset.embargo_status == ( EmbargoStatus.EMBARGOED if embargo else EmbargoStatus.OPEN )