From 2a1c5eddd45250ae3eaf7905788d938211f17d90 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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dandi/tests/test_upload.py b/dandi/tests/test_upload.py index 1bd372414..497310e48 100644 --- a/dandi/tests/test_upload.py +++ b/dandi/tests/test_upload.py @@ -252,7 +252,9 @@ 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 )