summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Allow one-character Param namesRob Crittenden2010-02-121-4/+0
| | | | This is done explicitly to support the l/localityname attribute.
* Command.output_params not contains params in Command.paramsJason Gerard DeRose2010-02-111-0/+27
|
* Fix the cert plugin testsRob Crittenden2010-02-091-8/+24
| | | | | | | | | These tests rely on the existence of a backend CA. It is easiest to test with a self-signed CA in ~/.ipa so that is what I documented. These tests are skipped if no CA is available. Improved robustness a bit by putting the cleanup as a separate test.
* Add support for the 'no_create', 'no_update', and 'no_search' Param flagsJason Gerard DeRose2010-02-051-3/+5
|
* Remove __public__ and __proxy__ hold-overs from Plugin classJason Gerard DeRose2010-01-283-118/+0
|
* Fixed xmlrpc_test.fuzzy_digits for Fedora12Jason Gerard DeRose2010-01-222-2/+2
|
* Fix backend.Executioner unit test.Pavel Zuna2010-01-131-6/+13
| | | | | | | | | | Before the patch that allows to create unshared instances of Connectible objects, all Connection object were deleted at once in destroy_context(). It made sense at the time, because there was always at most one Connection per Connectible subclass and Connectible.disconnect() was called only internally by the Executioner class. Now that we can make arbitrary connections, it makes more sense to delete the Connection object when Connectible.disconnect() is called.
* Remove hardcoded domain, example.comRob Crittenden2009-12-182-6/+6
|
* Add messages, declarative tests for rolegroup, taskgroup pluginsJason Gerard DeRose2009-12-183-266/+827
|
* Added Fuzzy docstrings; make-test now runs doctests in tests/*; fixed ↵Jason Gerard DeRose2009-12-185-31/+104
| | | | 'existant' mispelling
* Fuzzy feelingsJason Gerard DeRose2009-12-178-395/+653
|
* host and hostgroup summary messages, declarative tests; fix tests for 'dn'Jason Gerard DeRose2009-12-165-221/+488
|
* Add simple tests for the aci pluginRob Crittenden2009-12-141-0/+77
|
* Take 2: Extensible return values and validation; steps toward a single ↵Jason Gerard DeRose2009-12-1022-786/+1993
| | | | output_for_cli(); enable more webUI stuff
* Add minimal test for the cert pluginRob Crittenden2009-12-031-0/+104
| | | | | | | 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
* Add {user,host,sourcehost}Category to HBAC and make accessTime multivalue.Pavel Zuna2009-12-011-15/+14
|
* Use pyasn1-based PKCS#10 and X509v3 parsers instead of pyOpenSSL.Rob Crittenden2009-11-305-0/+181
| | | | | | | | | The pyOpenSSL PKCS#10 parser doesn't support attributes so we can't identify requests with subject alt names. Subject alt names are only allowed if: - the host for the alt name exists in IPA - if binding as host principal, the host is in the services managedBy attr
* Reading INT parameter class should respect radix prefixJohn Dennis2009-11-231-0/+27
| | | | | | | | | | This modifies the original patch by including a unit test, handling floats when passed as unicode, and handling large magnitude values beyond maxint. The INT parameter class was not respecting any radix prefix (e.g. 0x) the user may have supplied. This patch implements _convert_scalar method for the Int class so that we can pass the special radix base of zero to the int constructor telling it to determine the radix from the prefix (if present).
* _convert_scalar() should throw an error if passed a tuple or listRob Crittenden2009-11-171-1/+7
| | | | | A parameter needs to have multivalue set in order to work on lists/tuples and even then _convert_scalar() will be sent one value at a time.
* Change Password param so (password, confirm_password) can be passed to ↵Jason Gerard DeRose2009-10-181-0/+11
| | | | _convert_scalar()
* Fixed 'import json' for simplejson compatabilityJason Gerard DeRose2009-10-161-1/+1
|
* Removed util.add_global_options() and frontend.ApplicationJason Gerard DeRose2009-10-141-37/+0
|
* Giant webui patch take 2Jason Gerard DeRose2009-10-133-49/+87
|
* Fix unit tests for plugins using baseldap classes.Pavel Zuna2009-10-071-3/+1
|
* Fix unit tests for plugins using baseldap classes.Pavel Zuna2009-10-0510-276/+227
|
* Add HBAC plugin and introduce GeneralizedTime parameter type.Pavel Zuna2009-10-051-0/+305
|
* Add support for per-group kerberos password policy.Rob Crittenden2009-10-051-0/+169
| | | | | | | | | | 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.
* Let the updater delete entries and add small test harnessRob Crittenden2009-10-0511-0/+272
| | | | | | | | In order to run the tests you must put your DM password into ~/.ipa/.dmpw Some tests are expected to generate errors. Don't let any ERROR messages from the updater fool you, watch the pass/fail of the nosetests.
* Fix service_mod and add a test caseRob Crittenden2009-08-261-1/+11
|
* Add a new objectclass, ipaObject, that will add a UUID to many IPA objectsRob Crittenden2009-08-109-26/+35
| | | | | | | | | 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.
* Removed PluginProxy and all its usesJason Gerard DeRose2009-08-052-152/+14
|
* Add unit test for password pluginRob Crittenden2009-07-071-0/+71
|
* Fix unit tests to handle new group-{add, del}-member semantics.Pavel Zuna2009-07-025-27/+37
|
* Add unit tests for new plugins.Pavel Zuna2009-07-029-0/+1634
|
* Add utility functions for plugin unit testing.Pavel Zuna2009-07-021-0/+12
|
* Remove unit tests for old plugins.Pavel Zuna2009-07-0210-1848/+0
|
* Fix Encoder.decode test.Pavel Zuna2009-07-021-1/+1
|
* Fix bug in Encoder where tuples were encoded into lists. Fix Encoder and ↵Pavel Zuna2009-06-102-42/+50
| | | | Command.args_options_2_entry unit tests.
* Completed Param.use_in_context() functionality, which is now used by Command ↵Jason Gerard DeRose2009-05-213-8/+105
| | | | and Object
* Added Param 'include' and 'exclude' kwargs; added frontend.UsesParams base ↵Jason Gerard DeRose2009-05-191-2/+37
| | | | class with methods implementing the filtering to restrict params to only certain contexts
* Add Encoder base class and method decorators to encode arguments/decode ↵Pavel Zuna2009-05-191-0/+144
| | | | return values. Also - unit tests.
* Schema change so the nisnetgroup triples work properly.Rob Crittenden2009-05-193-37/+37
| | | | | | 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.
* Force xmlrpc tests to run with in_tree=True so config files in /etc/ipa/ ↵Jason Gerard DeRose2009-05-112-59/+51
| | | | don't get read; cleaned up config.Env automagic with regard to running in-tree vs. installed
* Add missing attribute to fix netgroups testRob Crittenden2009-05-071-1/+1
|
* Rename errors2.py to errors.py. Modify all affected files.Pavel Zuna2009-04-2317-111/+111
|
* Finish work replacing the errors module with errors2Rob Crittenden2009-04-204-292/+2
| | | | | | 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.
* Make parentmap a autofill variable and add tests when parentmap is not passedRob Crittenden2009-04-131-0/+58
|
* Add new type List that converts delimited values into a tupleRob Crittenden2009-03-201-0/+59
|
* Add tests for posix groupsRob Crittenden2009-03-201-4/+62
|
* Modify the taskgroup plugin to use the new group baseclass and add testsRob Crittenden2009-03-201-0/+188
|