Skip to content

Commit bacb026

Browse files
committed
test: set default branch to master
1 parent fffcff3 commit bacb026

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def git_sandbox(monkeypatch: pytest.MonkeyPatch, tmp_path: Path):
3131
assert r.return_code == 0, r.err
3232
r = cmd.run(f"git config --file {gitconfig} user.email {SIGNER_MAIL}")
3333
assert r.return_code == 0, r.err
34+
cmd.run("git config --global init.defaultBranch master")
3435

3536

3637
@pytest.fixture(scope="function")

0 commit comments

Comments
 (0)