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 committed Nov 27, 2024
1 parent 60ccca2 commit 2a1c5ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dandi/tests/test_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 == (

Check warning on line 258 in dandi/tests/test_upload.py

View check run for this annotation

Codecov / codecov/patch

dandi/tests/test_upload.py#L258

Added line #L258 was not covered by tests
EmbargoStatus.EMBARGOED if embargo else EmbargoStatus.OPEN
)
Expand Down

0 comments on commit 2a1c5ed

Please sign in to comment.