A number of tests in test_compute_mgr.py patch the event reporter to
prevent database poison warnings but otherwise don't assert on the event
reporter behaviour. Replace those individual mocks with a fixture that
stubs out the event reporter in the test setUp.
Reviewed: https:/ /review. openstack. org/378679 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=03e2f0449ad f021774578cb3b4 57e284e831a509
Committed: https:/
Submitter: Jenkins
Branch: master
commit 03e2f0449adf021 774578cb3b457e2 84e831a509
Author: Diana Clarke <email address hidden>
Date: Wed Sep 28 10:51:04 2016 -0400
EventReport erStub
A number of tests in test_compute_mgr.py patch the event reporter to
prevent database poison warnings but otherwise don't assert on the event
reporter behaviour. Replace those individual mocks with a fixture that
stubs out the event reporter in the test setUp.
Change-Id: I57233259065d88 7b38a79850a0517 7fcbbdfb8c3
Related-Bug: #1568414