Tests: Add missing attributes to test_xmlrpc/test_trust tests

Several tests in test_xmlrpc/test_trust_plugin.py fail because some attributes
are not expected. Fixing the tests so that the extra attributes are recognized.

https://fedorahosted.org/freeipa/ticket/6276

Reviewed-By: Ganna Kaihorodova <gkaihoro@redhat.com>
This commit is contained in:
Lenka Doudova
2016-08-31 15:05:41 +02:00
committed by Martin Basti
parent 8891465247
commit 60e88038c4
+9 -3
View File
@@ -77,7 +77,9 @@ class test_trustconfig(Declarative):
'ipantdomainguid': [fuzzy_guid],
'ipantfallbackprimarygroup': [default_group],
'ipantflatname': [fuzzy_string],
'ipantsecurityidentifier': [fuzzy_domain_sid]
'ipantsecurityidentifier': [fuzzy_domain_sid],
'ad_trust_agent_server': [api.env.host],
'ad_trust_controller_server': [api.env.host]
},
},
),
@@ -144,7 +146,9 @@ class test_trustconfig(Declarative):
'ipantdomainguid': [fuzzy_guid],
'ipantfallbackprimarygroup': [testgroup],
'ipantflatname': [fuzzy_string],
'ipantsecurityidentifier': [fuzzy_domain_sid]
'ipantsecurityidentifier': [fuzzy_domain_sid],
'ad_trust_agent_server': [api.env.host],
'ad_trust_controller_server': [api.env.host]
},
},
),
@@ -161,7 +165,9 @@ class test_trustconfig(Declarative):
'ipantdomainguid': [fuzzy_guid],
'ipantfallbackprimarygroup': [default_group],
'ipantflatname': [fuzzy_string],
'ipantsecurityidentifier': [fuzzy_domain_sid]
'ipantsecurityidentifier': [fuzzy_domain_sid],
'ad_trust_agent_server': [api.env.host],
'ad_trust_controller_server': [api.env.host]
},
},
),