python-mockldap-doc_0.3.0-2_all.deb


Advertisement

Description

python-mockldap-doc - simple mock implementation of python-ldap (Documentation)

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Universe i386
Package filename python-mockldap-doc_0.3.0-2_all.deb
Package name python-mockldap-doc
Package version 0.3.0
Package release 2
Package architecture all
Package type deb
Category universe/doc
Homepage https://bitbucket.org/psagers/mockldap/
License -
Maintainer Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Download size 34.15 KB
Installed size 283.00 KB
This project provides a mock replacement for python-ldap. It’s useful for any
project that would like to write unit tests against LDAP code without relying
on a running LDAP server.
The goal of mockldap is to provide a mock instance of LDAPObject in response to
any call to ldap.initialize. In the general case, you would register return
values for all LDAPObject calls that you expect the code under test to make.
Your assertions would then verify that the tested code behaved correctly given
this set of return values from the LDAP APIs.
As a convenience, the mock LDAPObject isn’t just a dumb mock object. The
typical way to use mockldap is to provide some static directory content and
then let LDAPObject generate real return values. This will only work for simple
LDAP operations–this obviously isn’t a complete Python LDAP server
implementation–but those simple operations tend to cover a lot of cases.
This package contains the documentation.

Alternatives

Package Version Architecture Repository
python-mockldap-doc_0.3.0-2_all.deb 0.3.0 all Ubuntu Universe
python-mockldap-doc - - -

Requires

Name Value
libjs-sphinxdoc >= 1.0

Download

Type URL
Mirror archive.ubuntu.com
Binary Package python-mockldap-doc_0.3.0-2_all.deb
Source Package mockldap

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install python-mockldap-doc deb package:
    # sudo apt-get install python-mockldap-doc

Files

Path
/usr/share/doc-base/python-mockldap-doc
/usr/share/doc/python-mockldap-doc/changelog.Debian.gz
/usr/share/doc/python-mockldap-doc/copyright
/usr/share/doc/python-mockldap-doc/rst
/usr/share/doc/python-mockldap-doc/html/changes.html
/usr/share/doc/python-mockldap-doc/html/directories.html
/usr/share/doc/python-mockldap-doc/html/genindex.html
/usr/share/doc/python-mockldap-doc/html/index.html
/usr/share/doc/python-mockldap-doc/html/objects.inv
/usr/share/doc/python-mockldap-doc/html/operations.html
/usr/share/doc/python-mockldap-doc/html/overview.html
/usr/share/doc/python-mockldap-doc/html/search.html
/usr/share/doc/python-mockldap-doc/html/searchindex.js
/usr/share/doc/python-mockldap-doc/html/_modules/index.html
/usr/share/doc/python-mockldap-doc/html/_modules/mockldap.html
/usr/share/doc/python-mockldap-doc/html/_modules/mockldap/ldapobject.html
/usr/share/doc/python-mockldap-doc/html/_modules/mockldap/recording.html
/usr/share/doc/python-mockldap-doc/html/_sources/changes.rst.txt
/usr/share/doc/python-mockldap-doc/html/_sources/directories.rst.txt
/usr/share/doc/python-mockldap-doc/html/_sources/index.rst.txt
/usr/share/doc/python-mockldap-doc/html/_sources/operations.rst.txt
/usr/share/doc/python-mockldap-doc/html/_sources/overview.rst.txt
/usr/share/doc/python-mockldap-doc/html/_static/ajax-loader.gif
/usr/share/doc/python-mockldap-doc/html/_static/basic.css
/usr/share/doc/python-mockldap-doc/html/_static/classic.css
/usr/share/doc/python-mockldap-doc/html/_static/comment-bright.png
/usr/share/doc/python-mockldap-doc/html/_static/comment-close.png
/usr/share/doc/python-mockldap-doc/html/_static/comment.png
/usr/share/doc/python-mockldap-doc/html/_static/default.css
/usr/share/doc/python-mockldap-doc/html/_static/doctools.js
/usr/share/doc/python-mockldap-doc/html/_static/down-pressed.png
/usr/share/doc/python-mockldap-doc/html/_static/down.png
/usr/share/doc/python-mockldap-doc/html/_static/file.png
/usr/share/doc/python-mockldap-doc/html/_static/jquery.js
/usr/share/doc/python-mockldap-doc/html/_static/minus.png
/usr/share/doc/python-mockldap-doc/html/_static/plus.png
/usr/share/doc/python-mockldap-doc/html/_static/pygments.css
/usr/share/doc/python-mockldap-doc/html/_static/searchtools.js
/usr/share/doc/python-mockldap-doc/html/_static/sidebar.js
/usr/share/doc/python-mockldap-doc/html/_static/underscore.js
/usr/share/doc/python-mockldap-doc/html/_static/up-pressed.png
/usr/share/doc/python-mockldap-doc/html/_static/up.png

Changelog

2017-11-09 - Michael Fladischer <fladi@debian.org>
mockldap (0.3.0-2) unstable; urgency=medium
* Add python-mock to Depends for the Python2 package (Closes: #880865).
* Run wrap-and-sort -bast to reduce diff size of future changes.
2017-11-01 - Michael Fladischer <fladi@debian.org>
mockldap (0.3.0-1) unstable; urgency=low
* New upstream release.
* Refresh patches after git-dpm to gbp pq conversion
* Move upstream signing key to debian/upstream/signing-key.asc.
* Replace Priority extra with optional as required by policy 4.0.1.
* Bump Standards-Version to 4.1.1.
* Raise minimum Python3 version to 3.4.
* Use https:// for uscan URL.
* Refresh patches for 0.3.0.
* Clean up modified files to allow two builds in a row.
* Disable test until upstream includes them in their tarball again.
2017-07-06 - Michael Fladischer <fladi@debian.org>
mockldap (0.2.8-1) unstable; urgency=low
* Upload to unstable (Closes: #866016).
* Bump Standards-Version to 4.0.0.
2017-03-19 - Michael Fladischer <fladi@debian.org>
mockldap (0.2.8-1~exp1) experimental; urgency=low
* New upstream release.
2017-03-18 - Michael Fladischer <fladi@debian.org>
mockldap (0.2.7-1~exp1) experimental; urgency=low
[ Ondřej Nový ]
* Fixed homepage (https)
* Fixed VCS URL (https)
[ Michael Fladischer ]
* New upstream release.
* Remove version constraint from python-sphinx in Build-Depends, no
longer necessary.
* Add patch to use pyldap for both Python2 and Python3.
* Replace python-ldap with python-pyldap in Build-Depends.
* Use https:// for copyright-format 1.0 URL.
* Bump Standards-Version to 3.9.8.
* Enable Python3 support through additional binary package.
* Switch to python3-sphinx.
* Bump minimum Python2 version to 2.7.
* Update years in d/copyright.
* Install README for python3-mockldap.
2015-06-30 - Michael Fladischer <fladi@debian.org>
mockldap (0.2.5-1) unstable; urgency=low
* New upstream release.
2015-05-27 - Michael Fladischer <fladi@debian.org>
mockldap (0.2.4-1) unstable; urgency=medium
* New upstream release.
* Drop python3-mockldap binary package as it is not compatible with
python3-ldap3 and there is no python3-ldap (Closes: #784645).
* Bump Standards-Version to 3.9.6.
* Use pypi.debian.net service for uscan.
* Change my email address to fladi@debian.org.
2014-08-28 - Michael Fladischer <FladischerMichael@fladi.at>
mockldap (0.2.2-3) unstable; urgency=low
* Switch buildsystem to pybuild.
* Add dh-python to Build-Depends.
* Add src/mockldap.egg-info/requires.txt to d/clean to allow two builds in a
row.
2014-08-27 - Michael Fladischer <FladischerMichael@fladi.at>
mockldap (0.2.2-2) unstable; urgency=medium
* Use correct package for python_ldap in Python3 by providing
d/py3dist-overrides.
2014-08-21 - Michael Fladischer <FladischerMichael@fladi.at>
mockldap (0.2.2-1) unstable; urgency=low
* New upstream release.
* Add Python3 support. Test are not yet compatible.

See Also

Package Description
python-mockldap_0.3.0-2_all.deb simple mock implementation of python-ldap (Python2 version)
python-mockupdb_1.3.0-1_all.deb MongoDB Wire Protocol server library - Python 2.x
python-mod-pywebsocket_0.8-1_all.deb WebSocket extension for Apache HTTP Server
python-mode_6.2.3-1_all.deb Python mode for GNU Emacs and XEmacs
python-model-mommy_1.5.1-1_all.deb smart object creation facility for Django
python-modestmaps_1.4.7-1_all.deb display and interaction library for tile-based maps
python-moksha.common_1.2.3-3_all.deb Common components for the Moksha framework
python-moksha.hub_1.4.1-2_all.deb Hub components for the Moksha framework
python-monasca-statsd-doc_1.7.0-0ubuntu1_all.deb Monasca-Statsd Python client (common documentation)
python-monasca-statsd_1.9.0-0ubuntu1_all.deb monasca statsd API client - Python 2.7
python-moneyed_0.6.0-1_all.deb Currency and Money classes for use in Python 2 code
python-mongoengine-doc_0.10.6-1_all.deb Python Document-Object Mapper for working with MongoDB (documentation)
python-mongoengine_0.10.6-1_all.deb Python Document-Object Mapper for working with MongoDB
python-montage-wrapper_0.9.9-1_all.deb Python-2 wrapper for the Montage mosaicking toolkit
python-more-itertools_3.2.0-2_all.deb More routines for operating on iterables, beyond itertools. (Python 2)
Advertisement
Advertisement