summaryrefslogtreecommitdiffstats
path: root/tests/util.py
Commit message (Collapse)AuthorAgeFilesLines
* Sort lists so order is predictable and tests pass as expected.Rob Crittenden2011-08-311-3/+5
| | | | Related to https://fedorahosted.org/freeipa/ticket/1272
* assert_deepequal supports callback for equality testingJohn Dennis2011-06-221-1/+10
|
* Change FreeIPA license to GPLv3+Jakub Hrozek2010-12-201-5/+5
| | | | | | | | | | The changes include: * Change license blobs in source files to mention GPLv3+ not GPLv2 only * Add GPLv3+ license text * Package COPYING not LICENSE as the license blobs (even the old ones) mention COPYING specifically, it is also more common, I think https://fedorahosted.org/freeipa/ticket/239
* Finish deferred translation mechanismJason Gerard DeRose2010-03-161-4/+2
|
* localize doc stringsJohn Dennis2010-03-081-2/+0
| | | | | | | | | | | | 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.
* Fixed xmlrpc_test.fuzzy_digits for Fedora12Jason Gerard DeRose2010-01-221-1/+1
|
* Added Fuzzy docstrings; make-test now runs doctests in tests/*; fixed ↵Jason Gerard DeRose2009-12-181-16/+89
| | | | 'existant' mispelling
* Fuzzy feelingsJason Gerard DeRose2009-12-171-2/+59
|
* Take 2: Extensible return values and validation; steps toward a single ↵Jason Gerard DeRose2009-12-101-0/+82
| | | | output_for_cli(); enable more webUI stuff
* Added stuff for managing connections and new Executioner backend base classJason Gerard DeRose2009-02-031-3/+3
|
* Sundry work getting ready to switch to new XML-RPC client/server codeJason Gerard DeRose2009-02-031-0/+7
|
* Added rpc.xmlclient backend plugin for forwarding; added corresponding unit ↵Jason Gerard DeRose2009-01-191-0/+45
| | | | tests
* New Param: implemented a base Param._convert_scalar() method; added ↵Jason Gerard DeRose2009-01-131-0/+9
| | | | Param.type_error attribute for ConversionError message
* New Param: updated Bytes and Str length rules to use new rule(_, value) ↵Jason Gerard DeRose2009-01-131-1/+13
| | | | calling signature; updated corresponding unit tests
* New Param: decided on calling signature for rules; added unit tests for ↵Jason Gerard DeRose2009-01-051-2/+5
| | | | Bytes._rule_minlength, _rule_maxlength, and _rule_length
* New Param: Added Param.get_label() method for a way to retrieve translated ↵Jason Gerard DeRose2009-01-051-2/+2
| | | | message at request time
* Quite a bit of work on new public errors and their unit testsJason Gerard DeRose2009-01-041-0/+8
|
* Added request.ugettext() and request.ungettext() functions; added ↵Jason Gerard DeRose2009-01-041-0/+35
| | | | corresponding unit tests
* Moved setting of run-time variables from Env.__init__() to Env._bootstrap()Jason Gerard DeRose2008-12-221-4/+0
|
* Stared some RPC-related error cleanup; started work on ipa_server.rcp.xmlrpc ↵Jason Gerard DeRose2008-11-241-0/+57
| | | | plugin
* Renamed ipalib.get_standard_api() to create_api()Jason Gerard DeRose2008-11-111-1/+1
|
* Finished fist draft of plugin tutorial in ipalib/__init__.py docstringJason Gerard DeRose2008-11-071-2/+1
|
* Added tests.util.get_api() function to create a standard (api, home) tuple ↵Jason Gerard DeRose2008-10-301-2/+19
| | | | for unit testing
* Finished Env._finalize_core() and corresponding unit testsJason Gerard DeRose2008-10-241-0/+8
|
* Added tests.util.TempHome class for created a tempdir and setting ↵Jason Gerard DeRose2008-10-241-2/+14
| | | | os.environ['HOME'] to it; updated various unit tests for Env so they are run using a tempdir for home
* Added ipalib/constants.py; added Env._load_config() method along with ↵Jason Gerard DeRose2008-10-241-0/+43
| | | | comprehensive unit tests for same
* Renamed tests/tstutil.py to tests/util.pyJason Gerard DeRose2008-10-071-0/+147