fix: Adjust test_daemon_mode to accept correct number of arguments
This commit is contained in:
parent
87c42fe8fb
commit
2cb5f5c6c9
|
@ -9,7 +9,7 @@ class TestDaemonMode(unittest.TestCase):
|
|||
@patch('aider_gitea.__main__.GiteaClient')
|
||||
@patch('aider_gitea.__main__.SeenIssuesDB')
|
||||
@patch('aider_gitea.__main__.process_issue')
|
||||
def test_daemon_mode(self, mock_process_issue, MockSeenIssuesDB, MockGiteaClient):
|
||||
def test_daemon_mode(self, mock_process_issue, MockSeenIssuesDB, MockGiteaClient, mock_gitea_token):
|
||||
mock_args = MagicMock()
|
||||
mock_args.daemon = True
|
||||
mock_args.gitea_url = "http://example.com"
|
||||
|
|
Loading…
Reference in New Issue
Block a user