mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-11 18:35:18 +00:00
Fixed comment 4
This commit is contained in:
parent
fe9afb826d
commit
3904743e85
2 changed files with 2 additions and 1 deletions
|
|
@ -198,6 +198,7 @@ Example:
|
|||
get_logger().warning(f"Error getting changelog file: {e}")
|
||||
self.changelog_file_str = ""
|
||||
self.changelog_file = ""
|
||||
return
|
||||
|
||||
if not self.changelog_file_str:
|
||||
self.changelog_file_str = self._get_default_changelog()
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ class TestPRUpdateChangelog:
|
|||
|
||||
# Assert
|
||||
assert changelog_tool.changelog_file == ""
|
||||
assert changelog_tool.changelog_file_str != "" # Should have default content
|
||||
assert changelog_tool.changelog_file_str == "" # Exception should result in empty string, no default template
|
||||
|
||||
def test_prepare_changelog_update_with_existing_content(self, changelog_tool):
|
||||
"""Test preparing changelog update when existing content exists."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue