On 10/31/2013 09:58 AM, Roberto Polli wrote:
Hi @all,
I started investigating in mocking with fakeldap, and it seems an easy and
viable way of adding unittests.
A main issue is the DSAdmin.__init__ complexity.
I thought - a long time ago actually - to remove from DSAdmin all cached
references to backends, suffixes and configuration.
If we want to add a cache layer we can do it afterward. And with some cache
pattern.
Part of the complexity is due to trying to keep data across a restart -
that is, if you call stop() then start(), you want start() to
automatically re-establish the connection - to do that, you need to
store the credentials.
Let me know + Peace,
R.
--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel