mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Update DNS zone allow-query validation test
localhost and localnets ACIs are now allowed. Update the respective unit test.
This commit is contained in:
parent
e4e5bd0595
commit
7c054377e3
@ -1038,9 +1038,9 @@ class test_dns(Declarative):
|
||||
|
||||
dict(
|
||||
desc='Try to add invalid allow-query to zone %r' % dnszone1,
|
||||
command=('dnszone_mod', [dnszone1], {'idnsallowquery': u'localhost'}),
|
||||
command=('dnszone_mod', [dnszone1], {'idnsallowquery': u'foo'}),
|
||||
expected=errors.ValidationError(name='allow_query',
|
||||
error=u'ACL name "localhost" is not supported'),
|
||||
error=u"failed to detect a valid IP address from u'foo'"),
|
||||
),
|
||||
|
||||
dict(
|
||||
|
Loading…
Reference in New Issue
Block a user