summaryrefslogtreecommitdiffstats
path: root/ipatests/test_xmlrpc/test_location_plugin.py
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-06-16 19:13:45 +0200
committerMartin Basti <mbasti@redhat.com>2016-06-17 18:05:03 +0200
commit4155eb7b13b20605886ba79c02c232f83a7b439c (patch)
tree310f70edd61952e24c4582b844c087a09ca65ce5 /ipatests/test_xmlrpc/test_location_plugin.py
parent3c50e42036427d7c5e36828f24bd3c180e18a677 (diff)
downloadfreeipa-4155eb7b13b20605886ba79c02c232f83a7b439c.tar.gz
freeipa-4155eb7b13b20605886ba79c02c232f83a7b439c.tar.xz
freeipa-4155eb7b13b20605886ba79c02c232f83a7b439c.zip
DNS Locations: Rename ipalocationweight to ipaserviceweight
Service weight explains better meaning of attribute than location weight, because location itself have no weight only services have. https://fedorahosted.org/freeipa/ticket/2008 Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'ipatests/test_xmlrpc/test_location_plugin.py')
-rw-r--r--ipatests/test_xmlrpc/test_location_plugin.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipatests/test_xmlrpc/test_location_plugin.py b/ipatests/test_xmlrpc/test_location_plugin.py
index 97e97a2bc..3f0edfbcf 100644
--- a/ipatests/test_xmlrpc/test_location_plugin.py
+++ b/ipatests/test_xmlrpc/test_location_plugin.py
@@ -177,11 +177,11 @@ class TestLocationsServer(XMLRPC_test):
server.update(
dict(
ipalocation_location=location.idnsname_obj,
- ipalocationweight=200,
+ ipaserviceweight=200,
),
expected_updates=dict(
ipalocation_location=[location.idnsname_obj],
- ipalocationweight=[u'200'],
+ ipaserviceweight=[u'200'],
)
)
# remove invalid data from the previous test
@@ -195,6 +195,6 @@ class TestLocationsServer(XMLRPC_test):
location.remove_server_from_location(server.server_name)
location.retrieve()
- def test_remove_location_weight_from_server(self, location, server):
- server.update(dict(ipalocationweight=None))
+ def test_remove_service_weight_from_server(self, location, server):
+ server.update(dict(ipaserviceweight=None))
location.retrieve()