28
28
mock_target = 'neutron.agent.linux.polling.InterfacePollingMinimizer'
29
29
with mock.patch('%s.start' % mock_target) as mock_start:
30
30
with mock.patch('%s.stop' % mock_target) as mock_stop:
34
32
self.assertEqual(pm.__class__,
35
33
polling.InterfacePollingMinimizer)
36
34
mock_stop.assert_has_calls(mock.call())