瀏覽代碼

Merge "Fix multiprocessing call in unit test"

changes/66/707166/1
Zuul Gerrit Code Review 1 月之前
父節點
當前提交
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…
取消
儲存