neutron/tests/unit/agent/linux/test_async_process.py: spawn.assert_called_once()
neutron/tests/unit/agent/linux/test_async_process.py: func.assert_called_once()
neutron/tests/unit/agent/linux/test_async_process.py: mock_start.assert_called_once()
neutron/tests/unit/agent/linux/test_async_process.py: mock_kill_event.send.assert_called_once()
neutron/tests/unit/agent/linux/test_async_process.py: mock_kill_process.assert_called_once(pid)
neutron/tests/unit/test_dhcp_agent.py: log.error.assert_called_once()
neutron/tests/unit/test_dhcp_agent.py: device.route.get_gateway.assert_called_once()
neutron/tests/unit/test_dhcp_agent.py: device.route.get_gateway.assert_called_once()
neutron/tests/unit/test_dhcp_agent.py: device.route.get_gateway.assert_called_once()
neutron/tests/unit/test_dhcp_agent.py: device.route.get_gateway.assert_called_once()
neutron/tests/unit/test_dhcp_agent.py: device.route.get_gateway.assert_called_once()
neutron/tests/unit/test_dhcp_agent.py: device.route.get_gateway.assert_called_once()
neutron/tests/unit/test_dhcp_agent.py: device.route.get_gateway.assert_called_once()
neutron/tests/unit/test_post_mortem_debug.py: mock_post_mortem.assert_called_once()
neutron/tests/unit/test_linux_interface.py: log.assert_called_once()
neutron/tests/unit/test_l3_agent.py: self.send_arp.assert_called_once()
neutron/tests/unit/test_l3_agent.py: self.send_arp.assert_called_once()
neutron/tests/unit/test_l3_agent.py: self.send_arp.assert_called_once()
neutron/tests/unit/test_l3_agent.py: self.send_arp.assert_called_once()
neutron/tests/unit/test_l3_agent.py: self.send_arp.assert_called_once()
neutron/tests/unit/cisco/test_nexus_plugin.py: mock_db.assert_called_once()
neutron/tests/unit/linuxbridge/test_lb_neutron_agent.py: exec_fn.assert_called_once()
neutron/tests/unit/services/firewall/agents/l3reference/test_firewall_l3_agent.py: mock_driver_update_firewall.assert_called_once(
neutron/tests/unit/services/firewall/agents/l3reference/test_firewall_l3_agent.py: mock_driver_delete_firewall.assert_called_once(
Reviewed: https:/ /review. openstack. org/123430 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=e40c2ed58ce 998fc5aba83ffae 8ebefec9403c3b
Committed: https:/
Submitter: Jenkins
Branch: master
commit e40c2ed58ce998f c5aba83ffae8ebe fec9403c3b
Author: Jacek Swiderski <email address hidden>
Date: Tue Sep 23 14:35:06 2014 +0200
mock. assert_ called_ once() is not a valid method
mock. assert_ called_ once() is a no-op that tests nothing. Instead assert_ called_ once_with( ) should be used (or use call_count) if you don't want to check
mock.
assertEqual(1, mock_obj.
parameters).
Borrowed HACKING rule from Davanum Srinivas's nova patch to
prevent it from appearing again.
Change-Id: Idac1d3c89c07e1 3c9a209663f4e55 7fcb7547821
Closes-Bug: #1365751
Closes-Bug: #1300265