Fix pytest errors

This commit is contained in:
Clemens 2023-03-31 12:50:33 +02:00
parent b963342d9b
commit 897784ddea

View file

@ -217,7 +217,7 @@ class GitApi():
return ''.join(self.system_api.stdout).rstrip()
def init(self):
self.system_api.run_checked('git', 'init')
self.system_api.run_checked('git', 'init', '-b', 'main')
def add_file(self, file_path: Path):
self.system_api.run_checked('git', 'add', file_path)