[389-devel] Building 389-ds-base-1.3.2.3

2013-10-28 Thread Noriko Hosoi
Building 389-ds-base-1.3.2.3 including the following patches (in addition to 1.3.2.2). 144869f bump version to 1.3.2.3 a4073a8 Ticket #47515 Fedora 20: setup-ds-admin.pl b5676ab Ticket 47569 - Fix build warnings 2b7cbb8 Ticket 47569 - ACIs do not allow attribute subtypes in tar

Re: [389-devel] Proof of concept: mocking DS in lib389

2013-10-28 Thread Roberto Polli
Hi @all, Jan wrote: > >>> as I promised, I am sending you a proof-of-concept code that > >>> demonstrates, how we can mock DS in unit tests for library function Ok, that's clear. > >>> instead of sending command to real DS instance, > >>> they just store the data in 'dit' dictionary We could use

Re: [389-devel] Proof of concept: mocking DS in lib389

2013-10-28 Thread Rich Megginson
On 10/26/2013 12:49 AM, Jan Rusnacko wrote: On 10/25/2013 11:00 PM, Rich Megginson wrote: On 10/25/2013 01:36 PM, Jan Rusnacko wrote: Hello Roberto and Thierry, as I promised, I am sending you a proof-of-concept code that demonstrates, how we can mock DS in unit tests for library function (see

Re: [389-devel] Proof of concept: mocking DS in lib389

2013-10-28 Thread thierry bordaz
Hi Jan, That is very impressive POC, far above my skill in python. Thanks for sharing this. I have a novice question. This implementation overwrites the basic ldapadd,ldapsearch... function of the "real" DS. An other approach is to write a 'mock_ds' class being a subclass of