2
0
mirror of https://github.com/frappe/bench.git synced 2024-06-22 17:44:40 +00:00

test(app_states): Set git committer info in config

This commit is contained in:
Gavin D'souza 2022-08-01 15:40:54 +05:30
parent 137c786f5e
commit b4a6f7fea8

View File

@ -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
)