~ubuntu-branches/ubuntu/vivid/neutron-lbaas/vivid-proposed

« back to all changes in this revision

Viewing changes to neutron_lbaas/tests/unit/drivers/haproxy/test_synchronous_driver.py

  • Committer: Package Import Robot
  • Author(s): David Ames
  • Date: 2015-08-04 10:16:10 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: package-import@ubuntu.com-20150804101610-l6zqpd1g8qu7nk7b
Tags: upstream-2015.1.1
ImportĀ upstreamĀ versionĀ 2015.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
455
455
            device_exists.return_value = True
456
456
            self.driver._cleanup_namespace(self._sample_in_loadbalancer().id)
457
457
            device_exists.assert_called_once_with(device.name)
458
 
            vif_driver.unplug.assert_any_calls(
459
 
                [mock.call(device.name, ns_name.return_value)])
 
458
            vif_driver.unplug.assert_any_call(
 
459
                device.name, namespace=ns_name.return_value)
460
460
            self.assertEqual(1, vif_driver.unplug.call_count)
461
461
 
462
462
    def test_kill_processes(self):