On 05/15/2015 08:19 PM, Nikolai Kondrashov wrote:
On 05/15/2015 07:14 PM, Michal Židek wrote:
> Well they are the first tests that use this new code, so they
> will be examples for others when writing new tests. It will
> be helpful for developers to see the function in real context.
> So I think it is worth the effort and the tests can be really
> simple. Additionally we will test the assert_ functions
> themselves this way (this is IMO important).
Alright, will do.
I can't think of good real tests using all of the functions, so I'll write a
separate test module explicitly testing all ent.py assert_* functions with
passwd/group entries in files (not involving LDAP and sssd) for simplicity and
speed.
I think that will have a good set of examples.
Nick