Skip to content

Commit

Permalink
fixup! fixup! Skip uploading files older than upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
john-kurkowski committed Nov 27, 2023
1 parent 74d0a60 commit 9036b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def test_main_tracks_newer(
old_timestamp = "2020-10-01T00:00:00Z"
new_timestamp = "2021-10-01T00:00:00Z"

def mock_stat(self: Path) -> Any:
def mock_stat(self: Path, *args: Any, **kwargs: Any) -> mock.Mock:
"""Mock `Path.stat()` to return a timestamp for some paths.
The patched method is often called internally by `Path`. This test case
Expand Down

0 comments on commit 9036b14

Please sign in to comment.