summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* This patch removes the existing UI functionality, as a prep for adding the ↵Adam Young2010-07-292-45/+0
| | | | Javascript based ui.
* Fix netgroup plugin to use correct member attribute names.Rob Crittenden2010-07-151-39/+107
| | | | | | | | | When the netgroup plugin was rebased it ended up using the member attribute for its memberships and not memberuser/memberhost. I also fixed this same attribute problem in the tests and tried to beef them up a little. If nis/schema compat are enabled it will try to compare the generated triplets with a known-good value.
* Add API to delete a service principal key, service-disable.Rob Crittenden2010-07-133-0/+6
| | | | | | | | | | | | I have to do some pretty low-level LDAP work to achieve this. Since we can't read the key using our modlist generator won't work and lots of tricks would be needed to use the LDAPUpdate object in any case. I pulled usercertificate out of the global params and put into each appropriate function because it makes no sense for service-disable. This also adds a new variable, has_keytab, to service/host_show output. This flag tells us whether there is a krbprincipalkey.
* Add test to ensure that a certificate we issue is actually stored properly.Rob Crittenden2010-07-131-2/+32
|
* Change expected aci summary from Updated to Modify in test casesRob Crittenden2010-07-061-4/+4
|
* Fix aci_mod command. It should handle more complex operations now.Rob Crittenden2010-06-241-56/+201
| | | | | | | | | | | The problem was trying to operate directly on the ACI itself. I introduced a new function, _aci_to_kw(), that converts an ACI into a set of keywords. We can take these keywords, like those passed in when an ACI is created, to merge in any changes and then re-create the ACI. I also switched the ACI tests to be declarative and added a lot more cases around the modify operation.
* Add ipaUniqueID to HBAC services and service groupsRob Crittenden2010-05-272-0/+4
| | | | Also fix the memberOf attribute for the HBAC services
* Remove local get_dn() from hbacsvcgroup and add tests for hbacsvcgroupRob Crittenden2010-05-202-0/+259
|
* Use new service schema for HBAC testsRob Crittenden2010-05-171-3/+35
|
* Replace old pwpolicy plugin with new one using baseldap, fix tests.Rob Crittenden2010-05-172-201/+24
| | | | Fix deletion of policy when a group is removed.
* Add new password policy plugin based on baseldap.py classes.root2010-05-051-0/+171
|
* Add weekly periodic schedule to AccessTime param type.root2010-05-041-3/+2
| | | | Fix bug #588414
* Add test cases for AccessTime param and fix some problems in AccessTimeRob Crittenden2010-05-031-0/+40
|
* 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
|