def test_connection_manager_is_instantiated_with_settings(self):
config = testing.setUp()
kinto.core.initialize(config, '0.0.1')
with mock.patch('kinto_ldap.ConnectionManager') as mocked:
includeme(config)
mocked.assert_called_with(retry_delay=0.1,
retry_max=3,
size=10,
timeout=30,
uri='ldap://ldap.db.scl3.mozilla.com')
评论列表
文章目录