chore: bump version to 1.31.0 and add changelog entry for agent instruction improvements
This commit is contained in:
@@ -229,8 +229,7 @@ class TestReviewFile:
|
||||
|
||||
@patch("rp.commands.handlers.read_file")
|
||||
@patch("rp.core.assistant.process_message")
|
||||
@patch("asyncio.create_task")
|
||||
async def test_review_file_success(self, mock_create_task, mock_process, mock_read):
|
||||
def test_review_file_success(self, mock_process, mock_read):
|
||||
mock_read.return_value = {"status": "success", "content": "test content"}
|
||||
review_file(self.assistant, "test.py")
|
||||
mock_read.assert_called_once_with("test.py")
|
||||
@@ -697,3 +696,4 @@ class TestShowBackgroundEvents:
|
||||
def test_show_events_exception(self, mock_get):
|
||||
mock_get.side_effect = Exception("test")
|
||||
show_background_events(self.assistant)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user