On 07/11/2016 01:34 PM, Lenka Doudova wrote:
On 07/08/2016 02:24 PM, Milan Kubík wrote:
On 07/01/2016 05:13 PM, Lenka Doudova wrote:
On 07/01/2016 02:42 PM, Milan Kubík wrote:
On 06/16/2016 03:23 PM, Lenka Doudova wrote:
attached are tests for authentication indicators. Please note:
1. newly created service tracker is not exactly complete, list of
unimplemented methods is in doc. These methods can be filled in
when existing declarative tests are refactored.
2. patch 0015 depends on 0014, so it should not be pushed without it.
In the update method, what happens when the updated attributes
contain addattr? It is not clear to me. Is it necessary?
ipa service-mod SRV --addattr="authind=radius"
The way the tracker works, this adds
/u'addattr="authind=radius"'/ to the list of expected results
(result of /self.attrs.update(updates)/. Of course nothing like that
appears anywhere, so in case there's the /--addattr/ option, it's
necessary to ensure it won't get to the /self.attrs/ atribute.
host1 and service2 do not tell anything about the purpose of the
fixture. Please assign more descriptive names to them.
Why do the fixtures have 'function' scope? Does the service entry
exist during the second and third test case?
Per offline discussion, admin user has no special privileges here,
Thanks for review, fixed patches (14.2 and 15.2) attached.
the update method of ServiceTracker creates the entry if it doesn't
exist. Why? I know the base class has this problem also , though.
Given this will be addressed, the fixtures in the xmlrpc test will
fail since the fixture scope is wrong - function instead of class.
fixed patch attached. I chose to leave the scope as it was (in case
one test breaks and entry is not even created, the other tests can
still be successful), but I removed the creation command from
ServiceTracker update method and called it directly in the tests, so
there shouldn't be hidden actions.
Thanks for the updated patches. There are still some issues I haven't
service tracker: track_create method doesn't set self.exists flag which
In the xmlrpc test method `test_adding_second_indicator` uses 'addattr'
to set the indicator, why?
Manage your subscription for the Freeipa-devel mailing list:
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code