Skip to content

Commit

Permalink
ENH: Mark one more dataset testing on simpler files on embargo"ed ver…
Browse files Browse the repository at this point in the history
…sion sync
  • Loading branch information
yarikoptic committed Nov 27, 2024
1 parent f2705df commit 944f91f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dandi/tests/test_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,10 @@ def test_upload_download_small_file(
assert (tmp_path / dandiset_id / "file.txt").read_bytes() == contents


@sweep_embargo
@pytest.mark.parametrize("confirm", [True, False])
def test_upload_sync(
confirm: bool, mocker: MockerFixture, text_dandiset: SampleDandiset
confirm: bool, mocker: MockerFixture, text_dandiset: SampleDandiset, embargo: bool
) -> None:
(text_dandiset.dspath / "file.txt").unlink()
confirm_mock = mocker.patch("click.confirm", return_value=confirm)
Expand Down

0 comments on commit 944f91f

Please sign in to comment.