summaryrefslogtreecommitdiffstats
path: root/tests/test_ipalib/test_errors.py
Commit message (Collapse)AuthorAgeFilesLines
* Make an ipa-tests packagePetr Viktorin2013-06-171-374/+0
| | | | | | | Rename the 'tests' directory to 'ipa-tests', and create an ipa-tests RPM containing the test suite Part of the work for: https://fedorahosted.org/freeipa/ticket/3654
* Add ipalib.messagesPetr Viktorin2013-02-211-30/+42
| | | | | | | | | | | | | The messages module contains message classes that can be added to a RPC response to provide additional information or warnings. This patch adds only the module with a single public message, VersionMissing, and unit tests. Since message classes are very similar to public errors, some functionality and unit tests were shared. Design page: http://freeipa.org/page/V3/Messages Ticket: https://fedorahosted.org/freeipa/ticket/2732
* Add instructions support to PublicErrorAlexander Bokovoy2012-10-111-0/+17
| | | | | | | | | | | | | | | When long additional text should follow the error message, one can supply instructions parameter to a class derived from PublicError. This will cause following text added to the error message: Additional instructions: <additional text> `instructions' optional parameter could be a list or anything that coerces into unicode(). List entries will be joined with '\n'. https://fedorahosted.org/freeipa/ticket/3167
* Fix i18n related failures in unit tests.Pavel Zuna2011-03-011-28/+2
|
* 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
* Rename errors2.py to errors.py. Modify all affected files.Pavel Zuna2009-04-231-0/+371
|
* Finish work replacing the errors module with errors2Rob Crittenden2009-04-201-289/+0
| | | | | | 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.
* IPAError now more appropriately subclasses from StandardError instead of ↵Jason Gerard DeRose2008-10-231-1/+1
| | | | Exception
* PEP 257: cleaned up docstrings in test_errors.pyJason Gerard DeRose2008-10-081-14/+29
|
* Renamed tests/tstutil.py to tests/util.pyJason Gerard DeRose2008-10-071-1/+1
|
* Moved tstutil.py into base of tests so it can be used by all test ↵Jason Gerard DeRose2008-10-071-1/+1
| | | | subpackages more easily
* Cleaned up package and module level docstrings for everything in tests/Jason Gerard DeRose2008-10-071-1/+1
|
* Moved ipalib/tests/ into tests/test_ipalib/Jason Gerard DeRose2008-10-071-0/+274