Rob Crittenden
ee446ff148
Remove hardcoded domain, example.com
2009-12-18 09:41:53 -07:00
Jason Gerard DeRose
e83c54587f
Add messages, declarative tests for rolegroup, taskgroup plugins
2009-12-18 10:56:16 -05:00
Jason Gerard DeRose
ab1aba5a9a
Added Fuzzy docstrings; make-test now runs doctests in tests/*; fixed 'existant' mispelling
2009-12-18 10:56:13 -05:00
Jason Gerard DeRose
29f243bf4e
Fuzzy feelings
2009-12-17 11:22:14 -05:00
Jason Gerard DeRose
8ae0f9c8aa
host and hostgroup summary messages, declarative tests; fix tests for 'dn'
2009-12-16 15:54:55 -07:00
Rob Crittenden
c334ec4584
Add simple tests for the aci plugin
2009-12-14 20:02:33 -07:00
Jason Gerard DeRose
b6e4972e7f
Take 2: Extensible return values and validation; steps toward a single output_for_cli(); enable more webUI stuff
2009-12-10 08:29:15 -07:00
Rob Crittenden
8115b28c99
Add minimal test for the cert plugin
...
This assumes that the developer has the equivalent of a selfsign CA
installed. To do this, install IPA without a CA and copy
/etc/httpd/alias/*.db to ~/.ipa/alias and
/etc/httpd/alias/pwdfile.txt to ~/.ipa/alias/.pwd
2009-12-03 09:58:56 -07:00
Pavel Zuna
40368f0d01
Add {user,host,sourcehost}Category to HBAC and make accessTime multivalue.
2009-12-01 10:38:49 -05:00
Pavel Zuna
5be9721292
Fix unit tests for plugins using baseldap classes.
2009-10-07 10:00:32 -04:00
Pavel Zuna
e01b1b8f99
Fix unit tests for plugins using baseldap classes.
2009-10-05 15:59:09 -04:00
Pavel Zuna
a6eb928f98
Add HBAC plugin and introduce GeneralizedTime parameter type.
2009-10-05 15:55:27 -04:00
Rob Crittenden
dac224c25a
Add support for per-group kerberos password policy.
...
Use a Class of Service template to do per-group password policy. The
design calls for non-overlapping groups but with cospriority we can
still make sense of things.
The password policy entries stored under the REALM are keyed only on
the group name because the MIT ldap plugin can't handle quotes in the
DN. It also can't handle spaces between elements in the DN.
2009-10-05 13:29:55 -06:00
Rob Crittenden
7a7041045e
Fix service_mod and add a test case
2009-08-26 09:51:15 -04:00
Rob Crittenden
c781e8a57d
Add a new objectclass, ipaObject, that will add a UUID to many IPA objects
...
ipaObject is defined as an auxiliary objectclass so it is up to the
plugin author to ensure that the objectclass is included an a UUID generated.
ipaUniqueId is a MUST attribute so if you include the objectclass you must
ensure that the uuid is generated.
This also fixes up some unrelated unit test failures.
2009-08-10 16:38:42 -06:00
Rob Crittenden
ac2970e52f
Add unit test for password plugin
2009-07-07 22:56:45 -04:00
Pavel Zuna
48d6669796
Fix unit tests to handle new group-{add, del}-member semantics.
2009-07-02 13:33:05 -04:00
Pavel Zuna
72e4816140
Add unit tests for new plugins.
2009-07-02 13:33:04 -04:00
Pavel Zuna
57b55d8e2f
Add utility functions for plugin unit testing.
2009-07-02 13:33:04 -04:00
Pavel Zuna
12ee586392
Remove unit tests for old plugins.
2009-07-02 13:33:04 -04:00
Rob Crittenden
e5bec4ae39
Schema change so the nisnetgroup triples work properly.
...
If we use cn for hostname there is no easy way to distinguish between
a host and a hostgroup. So adding a fqdn attribute to be used to store
the hostname instead.
2009-05-19 09:54:17 -04:00
Jason Gerard DeRose
ae38a2461f
Force xmlrpc tests to run with in_tree=True so config files in /etc/ipa/ don't get read; cleaned up config.Env automagic with regard to running in-tree vs. installed
2009-05-11 16:17:08 -04:00
Rob Crittenden
7ab9c3363f
Add missing attribute to fix netgroups test
2009-05-07 10:54:32 -04:00
Pavel Zuna
7d0bd4b895
Rename errors2.py to errors.py. Modify all affected files.
2009-04-23 10:29:14 -04:00
Rob Crittenden
64fa3dd4c3
Finish work replacing the errors module with errors2
...
Once this is committed we can start the process of renaming errors2 as errors.
I thought that combinig this into one commit would be more difficult to
review.
2009-04-20 13:58:26 -04:00
Rob Crittenden
e6171404bf
Make parentmap a autofill variable and add tests when parentmap is not passed
2009-04-13 15:22:49 -04:00
Rob Crittenden
ad4819ff66
Add tests for posix groups
2009-03-20 09:28:23 -04:00
Rob Crittenden
1445a36026
Modify the taskgroup plugin to use the new group baseclass and add tests
2009-03-20 09:28:12 -04:00
Rob Crittenden
a55c5d6bcd
New plugin to handle role groups
...
Role groups will be part of the ACI system. It will let one create broad
categories of permissions. Things like: helpdesk, user admin, group admin,
whatever.
2009-03-20 09:28:09 -04:00
Jakub Hrozek
d1386758fa
Add tests for the application frontend plugin
2009-02-10 14:11:21 -05:00
Rob Crittenden
98d4644bff
Fix remaining issues with XML-RPC test cases
...
Tied the make-test script into the test target of the top-level Makefile
Added code to xmlrpc_test.py so that it configures the API if it isn't
already done which enables individual tests to be executed.
2009-02-04 09:03:40 -05:00
Jason Gerard DeRose
0211c76cd0
Fixed some of the test_xmlrpc unit tests
2009-02-03 15:29:05 -05:00
Rob Crittenden
5717c9d668
Applied Rob's errors patch
2009-02-03 15:29:04 -05:00
Jason Gerard DeRose
48a278047d
Mostly got the test_xmlrpc/ tests working again
2009-02-03 15:29:04 -05:00
Jason Gerard DeRose
231f0bd65a
Finished reworked cli.CLI class into cli.cli plugin
2009-02-03 15:29:04 -05:00
Jason Gerard DeRose
6e53d03c69
Command.takes_options and Command.takes_args class attributes can now also be a callable
2009-02-03 15:28:59 -05:00
Rob Crittenden
98ab09fafc
Initial implementation of netgroups
2009-01-19 10:40:12 -05:00
Rob Crittenden
0dd1ba3721
Add some negative testing to the user and group plugin tests
2009-01-19 10:40:11 -05:00
Rob Crittenden
322992ae4b
Revert change that caused XML-RPC tests to be skipped
2009-01-19 10:40:11 -05:00
Jason Gerard DeRose
6fdf5d1e7b
Merge branch 'master' of git://git.engineering.redhat.com/users/rcritten/freeipa2
2008-12-20 15:00:00 -07:00
Jason Gerard DeRose
69041c3b1b
Removed Plugin.name property and replaced with instance attribute created in Plugin.__init__()
2008-12-17 21:47:43 -07:00
Rob Crittenden
c34d2b8923
Add helper for adding Indirect maps.
...
This creates the map and the key pointing to the map. By default the key
is associated with the auto.master map but it can be overriden.
2008-12-10 14:15:20 -05:00
Rob Crittenden
d10a5131f8
Tests for the automount plugin
2008-11-04 16:21:31 -05:00
Rob Crittenden
906e75b7af
Add new tests for hosts and groups of hosts
2008-11-04 14:04:06 -05:00
Rob Crittenden
d6502f0ba8
Skip tests if the remote XML-RPC server is not responding.
2008-11-03 18:04:25 -05:00
Rob Crittenden
a97f5d76d1
Initial tests for user, group and service plugin API
2008-11-03 17:31:32 -05:00