summaryrefslogtreecommitdiffstats
path: root/tests/test_xmlrpc/objectclasses.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2009-12-15 13:36:14 -0700
committerJason Gerard DeRose <jderose@redhat.com>2009-12-16 15:54:55 -0700
commit8ae0f9c8aadeacb16142198b65e368d2aa7926f4 (patch)
treeed2500b42ae60d1cd953acdc5454278328ccd2e1 /tests/test_xmlrpc/objectclasses.py
parentc334ec45849100b454bf775ba2ecaa05c6106546 (diff)
downloadfreeipa-8ae0f9c8aadeacb16142198b65e368d2aa7926f4.tar.gz
freeipa-8ae0f9c8aadeacb16142198b65e368d2aa7926f4.tar.xz
freeipa-8ae0f9c8aadeacb16142198b65e368d2aa7926f4.zip
host and hostgroup summary messages, declarative tests; fix tests for 'dn'
Diffstat (limited to 'tests/test_xmlrpc/objectclasses.py')
-rw-r--r--tests/test_xmlrpc/objectclasses.py40
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/test_xmlrpc/objectclasses.py b/tests/test_xmlrpc/objectclasses.py
new file mode 100644
index 000000000..58a3671e9
--- /dev/null
+++ b/tests/test_xmlrpc/objectclasses.py
@@ -0,0 +1,40 @@
+# Authors:
+# Jason Gerard DeRose <jderose@redhat.com>
+#
+# Copyright (C) 2008 Red Hat
+# see file 'COPYING' for use and warranty information
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; version 2 only
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""
+Defines the expected objectclass for various entries.
+"""
+
+host = (
+ u'ipaobject',
+ u'nshost',
+ u'ipahost',
+ u'pkiuser',
+ u'krbprincipalaux',
+ u'krbprincipal',
+ u'top',
+)
+
+hostgroup = (
+ u'ipaobject',
+ u'ipahostgroup',
+ u'nestedGroup',
+ u'groupOfNames',
+ u'top',
+)