There is currently unnecessary work being performed in setUp
for QoSSpecManageApiTest and confusing comments. This cleans
that up to avoid confusion.
Test was explicitly calling a reset on a fake, but the cleanup
for each test will do this as well. Relatively harmless, but
this makes the code cleaner.
Change-Id: I2671fc0a186acb75767d9adb1edeb9ad705fc958
self.flags(host='fake')
self.controller = qos_specs_manage.QoSSpecsController()
- #reset notifier drivers left over from other api/contrib tests
- # NOTE(flaper87) WTF? ^^^^ Cleanups should happen in each test,
- # not the purpose of this patch, though.
- fake_notifier.reset()
+ # Reset notifications for each test
self.addCleanup(fake_notifier.reset)
def test_index(self):