summaryrefslogtreecommitdiffstats
path: root/tests/test_xmlrpc/test_hostgroup_plugin.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-12-18 10:57:40 -0500
committerJason Gerard DeRose <jderose@redhat.com>2009-12-18 09:41:53 -0700
commitee446ff148b8ac7e8c713b4a26ccf3ab09800209 (patch)
treeac3a7527463d233a3ea9a740f7a31cd78022ddba /tests/test_xmlrpc/test_hostgroup_plugin.py
parente83c54587f07e53bfc92bd03ce54933d844f2d30 (diff)
downloadfreeipa-ee446ff148b8ac7e8c713b4a26ccf3ab09800209.tar.gz
freeipa-ee446ff148b8ac7e8c713b4a26ccf3ab09800209.tar.xz
freeipa-ee446ff148b8ac7e8c713b4a26ccf3ab09800209.zip
Remove hardcoded domain, example.com
Diffstat (limited to 'tests/test_xmlrpc/test_hostgroup_plugin.py')
-rw-r--r--tests/test_xmlrpc/test_hostgroup_plugin.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_xmlrpc/test_hostgroup_plugin.py b/tests/test_xmlrpc/test_hostgroup_plugin.py
index 6f7355080..3fef9b4e0 100644
--- a/tests/test_xmlrpc/test_hostgroup_plugin.py
+++ b/tests/test_xmlrpc/test_hostgroup_plugin.py
@@ -148,7 +148,7 @@ class test_hostgroup(Declarative):
summary=None,
result={
'dn': dn1,
- 'member host': [u'testhost1.example.com'],
+ 'member host': [u'testhost1.%s' % api.env.domain],
'cn': [hostgroup1],
'description': [u'Test hostgroup 1'],
},
@@ -165,7 +165,7 @@ class test_hostgroup(Declarative):
summary=u'1 hostgroup matched',
result=[
{
- 'member host': [u'testhost1.example.com'],
+ 'member host': [u'testhost1.%s' % api.env.domain],
'cn': [hostgroup1],
'description': [u'Test hostgroup 1'],
},
@@ -197,7 +197,7 @@ class test_hostgroup(Declarative):
summary=None,
result={
'dn': dn1,
- 'member host': [u'testhost1.example.com'],
+ 'member host': [u'testhost1.%s' % api.env.domain],
'cn': [hostgroup1],
'description': [u'Updated hostgroup 1'],
},