Parcourir la source

Merge "Fix multiprocessing call in unit test"

changes/66/707166/1
Zuul Gerrit Code Review il y a 1 mois
Parent
révision
48ef7c9188
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      ironic_python_agent/tests/unit/test_hardware.py

+ 1
- 1
ironic_python_agent/tests/unit/test_hardware.py Voir le fichier

@@ -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'


Chargement…
Annuler
Enregistrer