'Test handler calls into trunk manager for deleting subports.'

@mock.patch('neutron.agent.common.ovs_lib.OVSBridge')
def test_handle_subports_deleted(self, br):

    self.skeleton.handle_subports(mock.Mock(), 'SUBPORTS', self.subports, events.DELETED)
    expected_calls = [mock.call(subport.trunk_id, subport.port_id) for subport in self.subports]
    self.trunk_manager.remove_sub_port.assert_has_calls(expected_calls)
