| |
@@ -715,7 +715,9 @@
|
| |
) as mock_create_new_repo:
|
| |
self.toddler.process_comment(issue)
|
| |
|
| |
- mock_create_new_repo.assert_called_with(issue, {"action": "new_repo"})
|
| |
+ mock_create_new_repo.assert_called_with(
|
| |
+ issue, {"action": "new_repo"}, initial_commit=True
|
| |
+ )
|
| |
|
| |
def test_process_comment_valid_command_wrong_action(self):
|
| |
"""
|
| |
The creation of new repo behaves differently if triggered by the 'retry'
and 'valid' commands. This commit unifies the behavior.