From c2410ea690f5cbde216e9b9de32ddf03ae0f93d3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 28 Jun 2023 23:30:29 +0200 Subject: test: better logging --- test/lib/test_repo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/lib/test_repo.py') diff --git a/test/lib/test_repo.py b/test/lib/test_repo.py index 820c73f..1922245 100644 --- a/test/lib/test_repo.py +++ b/test/lib/test_repo.py @@ -16,7 +16,7 @@ class Repo: def __init__(self, path): self.path = os.path.abspath(path) os.makedirs(path, exist_ok=True) - self.run('git', 'init', f'--initial-branch={Repo.BRANCH}') + self.run('git', 'init', '-q', f'--initial-branch={Repo.BRANCH}') self.run('git', 'config', 'user.name', 'Test User') self.run('git', 'config', 'user.email', 'test@example.com') @@ -40,7 +40,7 @@ class TestRepo(Repo): super().__init__(path) shutil.copy(self.get_ci_script(), self.path) self.run('git', 'add', '.') - self.run('git', 'commit', '-m', 'add CI script') + self.run('git', 'commit', '-q', '-m', 'add CI script') self.output_dir = os.path.join(self.path, TestRepo.OUTPUT_DIR) os.makedirs(self.output_dir, exist_ok=True) -- cgit v1.2.3