summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add gettext translation test using test language.John Dennis2010-04-161-0/+88
|
* XML-RPC signature changeJason Gerard DeRose2010-03-302-5/+3
|
* Deleting a non-fully-qualified hostname should still delete its servicesRob Crittenden2010-03-302-0/+76
| | | | | We were being left with orphan services if the host entry was not removed using the FQDN.
* Ensure that the group policy priority is unique.Rob Crittenden2010-03-191-8/+35
| | | | | | We use CoS to determine the order in which group policy is applied. The behavior in CoS is undefined for multiple entries with the same cospriority.
* Finish deferred translation mechanismJason Gerard DeRose2010-03-162-15/+126
|
* localize doc stringsJohn Dennis2010-03-084-7/+6
| | | | | | | | | | | | A number of doc strings were not localized, wrap them in _(). Some messages were not localized, wrap them in _() Fix a couple of failing tests: The method name in RPC should not be unicode. The doc attribute must use the .msg attribute for comparison. Also clean up imports of _() The import should come from ipalib or ipalib.text, not ugettext from request.
* Consolidate to single WSGI entry pointJason Gerard DeRose2010-03-011-1/+95
|
* Fix unicode failures in Env tests and dn failures in XML-RPC testsRob Crittenden2010-02-267-44/+45
|
* Make the --all option work in Add/Remove Member commands.Pavel Zuna2010-02-244-6/+34
|
* Translatable Param.label, Param.docJason Gerard DeRose2010-02-241-3/+3
|
* Fix non XML-RPC testsJason Gerard DeRose2010-02-191-8/+13
|
* Use the Output tuple to determine the order of outputRob Crittenden2010-02-1510-86/+112
| | | | | | | | | | | | | | The attributes displayed is now dependant upon their definition in a Param. This enhances that, giving some level of control over how the result is displayed to the user. This also fixes displaying group membership, including failures of adding/removing entries. All tests pass now though there is still one problem. We need to return the dn as well. Once that is fixed we just need to comment out all the dn entries in the tests and they should once again pass.
* Add Object.label class attribute, enable in webUIJason Gerard DeRose2010-02-121-0/+19
|
* 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
|