From b4a6f7fea8c85e9b3ef502301b16da9f6a940b2f Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Mon, 1 Aug 2022 15:40:54 +0530 Subject: [PATCH] test(app_states): Set git committer info in config --- bench/tests/test_utils.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bench/tests/test_utils.py b/bench/tests/test_utils.py index db830e1b..e0137dca 100644 --- a/bench/tests/test_utils.py +++ b/bench/tests/test_utils.py @@ -75,6 +75,18 @@ class TestUtils(unittest.TestCase): f.write("__version__ = '11.0'") subprocess.run(["git", "add", "."], cwd=frappe_path, capture_output=True, check=True) + subprocess.run( + ["git", "config", "user.email", "bench-test_app_states@gha.com"], + cwd=frappe_path, + capture_output=True, + check=True, + ) + subprocess.run( + ["git", "config", "user.name", "App States Test"], + cwd=frappe_path, + capture_output=True, + check=True, + ) subprocess.run( ["git", "commit", "-m", "temp"], cwd=frappe_path, capture_output=True, check=True )