Skip to content

Commit 110f827

Browse files
committed
Fix minor bug in add_empty_commit() method
1 parent 6d6a1c3 commit 110f827

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

osv/impact_git_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def test_introduced_limit_merge(self):
261261
def test_introduced_limit_two_linear(self):
262262
"""Ensures that multiple introduced commit in
263263
the same branch are correctly handled, wrt limit."""
264-
repo = TestRepository("test_introduced_limit_two_linear", debug=True)
264+
repo = TestRepository("test_introduced_limit_two_linear", debug=False)
265265

266266
first = repo.add_empty_commit(
267267
vulnerability=TestRepository.VulnerabilityType.INTRODUCED)

osv/test_tools/test_repository.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def add_empty_commit(
7474
[self._initial_commit])
7575

7676
self.repo.branches.delete('branch_temp')
77-
self.create_branch('branch_{commit.hex}', commit)
77+
self.create_branch(f'branch_{commit.hex}', commit)
7878

7979
else:
8080
self.repo.create_branch('branch_temp',

0 commit comments

Comments
 (0)