mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-11 18:35:18 +00:00
test: modify test data to support multiple sub-PR themes with separate titles and relevant files
This commit is contained in:
parent
4baf52292d
commit
df6b00aa36
1 changed files with 34 additions and 3 deletions
|
|
@ -171,7 +171,13 @@ class TestConvertToMarkdown:
|
|||
'src/file1.py',
|
||||
'src/file2.py'
|
||||
],
|
||||
'title': 'Split PR into smaller parts',
|
||||
'title': 'Refactoring',
|
||||
},
|
||||
{
|
||||
'relevant_files': [
|
||||
'src/file3.py'
|
||||
],
|
||||
'title': 'Bug Fix',
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -183,8 +189,33 @@ class TestConvertToMarkdown:
|
|||
Here are some key observations to aid the review process:
|
||||
|
||||
<table>
|
||||
<tr><td>🔀 <strong>No multiple PR themes</strong>
|
||||
|
||||
<tr><td>🔀 <strong>Multiple PR themes</strong><br><br>
|
||||
|
||||
<details><summary>
|
||||
Sub-PR theme: <b>Refactoring</b></summary>
|
||||
|
||||
___
|
||||
|
||||
Relevant files:
|
||||
|
||||
- src/file1.py
|
||||
- src/file2.py
|
||||
___
|
||||
|
||||
</details>
|
||||
|
||||
<details><summary>
|
||||
Sub-PR theme: <b>Bug Fix</b></summary>
|
||||
|
||||
___
|
||||
|
||||
Relevant files:
|
||||
|
||||
- src/file3.py
|
||||
___
|
||||
|
||||
</details>
|
||||
|
||||
</td></tr>
|
||||
</table>
|
||||
""")
|
||||
|
|
|
|||
Loading…
Reference in a new issue