Skip to content

Commit

Permalink
Add type annotation for mocker
Browse files Browse the repository at this point in the history
Co-authored-by: John T. Wodder II <[email protected]>
  • Loading branch information
yarikoptic and jwodder authored Nov 27, 2024
1 parent 60ccca2 commit e071cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dandi/tests/test_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit e071cad

Please sign in to comment.