Skip to content

Commit c344156

Browse files
committed
specify the user
1 parent 3ad5e8a commit c344156

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

tools/src/test/python/test_mercurial.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,19 @@ def add_commit_file(file_path, repo_path, comment):
4747
cmd.execute()
4848
assert cmd.getretcode() == 0
4949

50-
cmd = Command(["hg", "commit", "-m", comment, file_path],
51-
work_dir=repo_path)
50+
cmd = Command(
51+
[
52+
"hg",
53+
"commit",
54+
"-m",
55+
comment,
56+
"-u",
57+
"Snufkin <[email protected]>",
58+
file_path,
59+
],
60+
work_dir=repo_path,
61+
)
5262
cmd.execute()
53-
assert cmd.getoutputstr() is None # TODO: DEBUG only
5463
assert cmd.getretcode() == 0
5564

5665

0 commit comments

Comments
 (0)