The test sometimes fails in gate:
http://logs.openstack.org/30/271830/8/check/gate-neutron-python27/4b77bb6/testr_results.html.gz
ft507.2: neutron.tests.unit.plugins.ml2.extensions.test_dns_integration.TestDesignateClient.test_secure_client_StringException: Traceback (most recent call last):
File "neutron/tests/unit/plugins/ml2/extensions/test_dns_integration.py", line 558, in test_secure_client
driver.session.Session.assert_called_with(verify=self.TEST_CA_CERT)
File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 925, in assert_called_with
raise AssertionError('Expected call: %s\nNot called' % (expected,))
AssertionError: Expected call: mock(verify='d7302899d10b4e8381f2345b966fd299')
Not called
Logstash: http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22in%20test_secure_client%5C%22
It seems to happening just for py27