mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Test coverage for multiservers for radius proxy
Test checks that no multiservers can be added for radius proxy Pagure: https://pagure.io/freeipa/issue/7542 Signed-off-by: Kaleemullah Siddiqui <ksiddiqu@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
parent
f5a04da95d
commit
114e46b7c9
@ -72,6 +72,19 @@ class test_raduisproxy(Declarative):
|
|||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
|
dict(
|
||||||
|
desc='Try to add multiple radius proxy server %r' % radius1,
|
||||||
|
command=('radiusproxy_add', [radius1],
|
||||||
|
dict(
|
||||||
|
ipatokenradiusserver=radius1_fqdn,
|
||||||
|
addattr=u'ipatokenradiusserver=radius1_fqdn',
|
||||||
|
ipatokenradiussecret=password1,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
expected=errors.OnlyOneValueAllowed(attr='ipatokenradiusserver')
|
||||||
|
),
|
||||||
|
|
||||||
|
|
||||||
dict(
|
dict(
|
||||||
desc='Create %r' % radius1,
|
desc='Create %r' % radius1,
|
||||||
command=('radiusproxy_add', [radius1],
|
command=('radiusproxy_add', [radius1],
|
||||||
|
Loading…
Reference in New Issue
Block a user