瀏覽代碼

Merge "Fix multiprocessing call in unit test"

tags/6.1.0
Zuul Gerrit Code Review 3 月之前
父節點
當前提交
48ef7c9188
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      ironic_python_agent/tests/unit/test_hardware.py

+ 1
- 1
ironic_python_agent/tests/unit/test_hardware.py 查看文件

@@ -1830,7 +1830,7 @@ class TestGenericHardwareManager(base.IronicAgentTest):
internal_info['disk_erasure_concurrency'] = 10
mocked_dispatch.return_value = 'erased device'

apply_result = multiprocessing.pool.ApplyResult({}, None, None)
apply_result = multiprocessing.pool.ApplyResult
apply_result._success = True
apply_result._ready = True
apply_result.get = lambda: 'erased device'


Loading…
取消
儲存