diff --git a/sql/test_archiver.py b/sql/test_archiver.py index 6dd39d48f7..b8c38e830f 100644 --- a/sql/test_archiver.py +++ b/sql/test_archiver.py @@ -274,7 +274,7 @@ def test_archive_audit(self, _async_task, mock_operate): @patch('sql.archiver.apply_async.apply_async') - def test_add_archive_task(self, mock_apply_async): + def test_add_archive_task(self, apply_async_mock): # 调用 add.apply_async add_archive_task.apply_async()