[Freeipa-devel] [PATCH 0019][Tests] Fix for failing location tests
Martin Basti
mbasti at redhat.com
Tue Jun 21 16:57:54 UTC 2016
On 21.06.2016 15:39, Lenka Doudova wrote:
> Hi,
>
> attaching patch for failing location tests
> (ipatests/test_xmlrpc/test_location_plugin.py).
>
> Lenka
>
>
>
Hello,
1)
+ expected_updates={u'ipalocation_location':
[location.idnsname_obj],
+ u'enabled_role_servrole': (
+ u'CA server', u'DNS server', u'NTP
server')},
This depends on services installed on server, so server without DNS will
cause test failures. We probably should skip test id DNS isn't installed.
Without DNS installed you get much more different warnings
2)
+ def update(self, updates, expected_updates=None, messages=None):
....
+ self.messages = messages
Why is this needed? I'm puzzled by this
It is defined outside __init__ what is wrong and it is never used.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160621/4c9bef4f/attachment.htm>
More information about the Freeipa-devel
mailing list