Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 2, 2024
1 parent 49a89c9 commit 3e613cd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions testing/test_git.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,13 +498,14 @@ def test_git_getdate_badgit(
assert git_wd.get_head_date() is None



def test_git_getdate_git_2_45_0_plus(
wd: WorkDir, caplog: pytest.LogCaptureFixture, monkeypatch: pytest.MonkeyPatch
) -> None:
wd.commit_testfile()
git_wd = git.GitWorkdir(wd.cwd)
fake_date_result = CompletedProcess(args=[], stdout="2024-04-30T22:33:10Z", stderr="", returncode=0)
fake_date_result = CompletedProcess(
args=[], stdout="2024-04-30T22:33:10Z", stderr="", returncode=0
)
with patch.object(
git,
"run_git",
Expand Down

0 comments on commit 3e613cd

Please sign in to comment.