[server/test] Extract a "ldapsource" function in unittest_ldapsource.py
We will add more use of this pattern in forthcoming changesets,
so avoid repetition.
.. _core_module:
:mod:`cubicweb.pyramid.core`
----------------------------
.. automodule:: cubicweb.pyramid.core
.. autofunction:: includeme
.. autofunction:: cw_to_pyramid
.. autofunction:: render_view
.. autofunction:: repo_connect
.. autofunction:: get_principals
.. autoclass:: CubicWebPyramidRequest
:show-inheritance:
:members:
.. autofunction:: _cw_session
.. autofunction:: _cw_cnx
.. autofunction:: _cw_request