mock.sentinel.lookup_ip

Here are the examples of the python api mock.sentinel.lookup_ip taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

Example 1

Project: networking-hyperv Source File: test_hyperv_neutron_agent.py
Function: test_lookup_update
    def test_lookup_update(self):
        kwargs = {'lookup_ip': mock.sentinel.lookup_ip,
                  'lookup_details': mock.sentinel.lookup_details}

        self.agent.lookup_update(mock.sentinel.context, **kwargs)

        self.agent._nvgre_ops.lookup_update.assert_called_once_with(kwargs)