diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2009-01-28 23:21:17 -0700 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-02-03 15:29:05 -0500 |
commit | 0211c76cd0ce614b9c7510315dbadf5336667410 (patch) | |
tree | 0dca19c3305db51bbd9eb6503e0ef2f3f4488ffb /tests/test_xmlrpc/test_group_plugin.py | |
parent | 5717c9d6689f15c46801f2d251e174fad4ce4748 (diff) | |
download | freeipa-0211c76cd0ce614b9c7510315dbadf5336667410.tar.gz freeipa-0211c76cd0ce614b9c7510315dbadf5336667410.tar.xz freeipa-0211c76cd0ce614b9c7510315dbadf5336667410.zip |
Fixed some of the test_xmlrpc unit tests
Diffstat (limited to 'tests/test_xmlrpc/test_group_plugin.py')
-rw-r--r-- | tests/test_xmlrpc/test_group_plugin.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_xmlrpc/test_group_plugin.py b/tests/test_xmlrpc/test_group_plugin.py index 127c0b2bf..2cd6bdf13 100644 --- a/tests/test_xmlrpc/test_group_plugin.py +++ b/tests/test_xmlrpc/test_group_plugin.py @@ -24,16 +24,16 @@ Test the `ipalib/plugins/f_group` module. import sys from xmlrpc_test import XMLRPC_test from ipalib import api -from ipalib import errors +from ipalib import errors2 class test_Group(XMLRPC_test): """ Test the `f_group` plugin. """ - cn='testgroup' - cn2='testgroup2' - description='This is a test' + cn = u'testgroup' + cn2 = u'testgroup2' + description = u'This is a test' kw={'description':description,'cn':cn} def test_add(self): @@ -109,7 +109,7 @@ class test_Group(XMLRPC_test): """ modkw = self.kw modkw['cn'] = self.cn - modkw['description'] = 'New description' + modkw['description'] = u'New description' res = api.Command['group_mod'](**modkw) assert res assert res.get('description','') == 'New description' |