Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | set maxDiff to None so we see diffs anyway | Sylvain Th?nault | 2010-09-27 | 1 | -1/+1 |
| | |||||
* | cleanup: _deprecate doesn't have to be an inner function | Sylvain Th?nault | 2010-09-27 | 1 | -10/+9 |
| | |||||
* | (cleaning) | Julien Jehannet | 2010-09-24 | 1 | -6/+2 |
| | |||||
* | [unittest2] make standard import under py3.x (skip unittest2 support from here) | Julien Jehannet | 2010-09-22 | 1 | -75/+70 |
| | |||||
* | fix some pylint detected errors | Sylvain Th?nault | 2010-08-27 | 1 | -7/+7 |
| | |||||
* | Add a InheritableSet to lgc.compat | Pierre-Yves David | 2010-08-18 | 1 | -2/+2 |
| | | | | | | | | | | On version prior to 2.5 subclassing a set is troublesome as the set initialisation is done in set.__new__ instead of set.__init__. Any additional argument is processed as is by the __new__ methods leading to TypeError. It's not the case in 2.5 and above. We create a InheritableSet class which only differ of set for version prior do 2.5. It overwrite the __new__ methods to only pass the first argument to set.__new__ and init the object as expected afterward. | ||||
* | [teslib/refactoring] Use decorator. | Pierre-Yves David | 2010-07-28 | 1 | -2/+3 |
| | |||||
* | testlib: make our legacy assertion methods compatible with unittest2 | Julien Jehannet | 2010-08-02 | 1 | -8/+11 |
| | |||||
* | we need default in stable. lgc should be released | Sylvain Th?nault | 2010-07-28 | 1 | -41/+122 |
|\ | |||||
| * | backport stable into default | Pierre-Yves David | 2010-06-23 | 1 | -41/+122 |
| |\ | |||||
| | * | [testlib/tag] Tagged method now inherit from class Tags too. | Pierre-Yves David | 2010-06-11 | 1 | -17/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | This behaviour might be controlled with the ``inherit`` argument of the ``tag`` decorator and ``Tags`` constructor. The ``Tags`` constructors now have the same signature than the ``tag`` decorator. The former signature (same as ``set`` constructor) is still supported. | ||||
| | * | add some parameter description to the assert methods | Emile Anclin | 2010-06-08 | 1 | -24/+98 |
| | | | |||||
* | | | don't raise string exception in testlib (closes #35331) | Sylvain Th?nault | 2010-07-01 | 1 | -21/+15 |
|/ / | |||||
* | | tests: fix some configuration tests (python2.4) | Julien Jehannet | 2010-06-18 | 1 | -4/+2 |
| | | | | | | | | | | - catch Etree import error for 2.4 - update usage for python2.4 (Debian stable version) | ||||
* | | [testlib] fix 2.4 compat by adding a dummy wraps function | Pierre-Yves David | 2010-06-17 | 1 | -2/+8 |
|/ | |||||
* | backport default into stable | Sylvain Th?nault | 2010-05-21 | 1 | -3/+7 |
|\ | |||||
| * | [testlib] add option splitlines to assertTextEquals | Nicolas Chauvat | 2010-04-29 | 1 | -3/+7 |
| | | |||||
* | | missing replacement in disclaimer; include COPYING.LESSER in manifest; kill ↵ | Sylvain Th?nault | 2010-04-28 | 1 | -1/+1 |
|/ | | | | DEPENDS file | ||||
* | propre licensing information (LGPL-2.1). Hope I get it right this time. | Sylvain Th?nault | 2010-04-28 | 1 | -2/+16 |
| | |||||
* | fix licensing, should be LGPL everywhere | Sylvain Th?nault | 2010-04-26 | 1 | -1/+1 |
| | |||||
* | propertly wraps decorated function (preserve name) for temporary directory | Pierre-Yves David | 2010-04-20 | 1 | -2/+7 |
| | |||||
* | fix some docstrings | Aurelien Campeas | 2010-04-15 | 1 | -12/+12 |
| | |||||
* | backport stable branch | Adrien Di Mascio | 2010-04-13 | 1 | -2/+19 |
|\ | |||||
| * | allow multiple arguments for ↵ | Pierre-Yves David | 2010-03-22 | 1 | -2/+2 |
| | | | | | | | | logilab.common.testlib.TestCase.datapath.\n\ndatapath now handle multiple argument as os.path.join do | ||||
| * | [testlib] add in_tempdir, within_tempdir decorator | Pierre-Yves David | 2010-03-17 | 1 | -0/+17 |
| | | | | | | | | | | | | | | | | in_tempdir change the directory for tempfile.tempdir during the function call. within_tempdir combine with_tmpdir and in_tmpdir (create a temp dir and change current directory to a created tempdir during the function call and clear it afterward) | ||||
* | | update license, logilab-common is licensed under LGPLv2 | Adrien Di Mascio | 2010-04-13 | 1 | -1/+1 |
|/ | |||||
* | [testlib] del self.test to improve garbage collection when a lot of tests ↵ | Sylvain Th?nault | 2010-03-08 | 1 | -1/+4 |
| | | | | are laucnhed | ||||
* | [testlib] improve XML assertion with ElementTree parseur and context lines | Pierre-Yves David | 2010-02-24 | 1 | -11/+72 |
| | |||||
* | Make it possible to skip a InnetTest-based generative test alone, without ↵ | David Douard | 2009-11-02 | 1 | -1/+12 |
| | | | | skipping the whole test. | ||||
* | mergelogilab-common-version-0.45.2 | Sylvain Th?nault | 2009-11-23 | 1 | -2/+7 |
|\ | |||||
| * | Make it possible to tag test classes | David Douard | 2009-10-08 | 1 | -2/+7 |
| | | | | | | | | If a tags is set on both a class and a method of this class, this latter take precedence in tag definition | ||||
* | | include Dotan Barak spell fixes patch | Sylvain Th?nault | 2009-11-23 | 1 | -6/+6 |
|/ | |||||
* | remove deprecated code | Sylvain Th?nault | 2009-08-07 | 1 | -125/+0 |
| | |||||
* | R [deprecation] deprecated_function deprecated in favor of deprecated | Nicolas Chauvat | 2009-07-31 | 1 | -9/+8 |
| | |||||
* | R [all] obsolete was renamed deprecated | Nicolas Chauvat | 2009-07-31 | 1 | -2/+3 |
| | |||||
* | [pytest] fix batchmode exeution, don't capture streams | Adrien Di Mascio | 2009-07-29 | 1 | -29/+33 |
| | |||||
* | [pytest] -c option now caputres DeprecationWarnings | Adrien Di Mascio | 2009-07-29 | 1 | -6/+7 |
| | |||||
* | [testlib] avoid additional period prints in generative tests | Adrien Di Mascio | 2009-07-29 | 1 | -4/+5 |
| | |||||
* | [testlib] simplify traceback manipulation (skip first frames corresponding ↵ | Adrien Di Mascio | 2009-07-29 | 1 | -8/+12 |
| | | | | to testlib functions) | ||||
* | new stiplines option to assertLinesEquals | Sylvain Th?nault | 2009-07-24 | 1 | -2/+8 |
| | |||||
* | turn datapath into a classmethod | Sylvain Th?nault | 2009-07-22 | 1 | -2/+3 |
| | |||||
* | already defined in decorators | Sylvain Th?nault | 2009-07-22 | 1 | -14/+2 |
| | |||||
* | nicer failure messsage | Sylvain Th?nault | 2009-07-21 | 1 | -1/+1 |
| | |||||
* | [cleanup] delete-trailing-whitespace | Nicolas Chauvat | 2009-07-19 | 1 | -68/+68 |
| | |||||
* | strip text to diff | sylvain thenault | 2009-03-12 | 1 | -2/+2 |
| | |||||
* | add profile option to testlib. this uses cProfile and complements hotshot ↵ | ludal | 2009-02-17 | 1 | -2/+15 |
| | | | | used by pytest | ||||
* | [testlib] teardown_module() is now given the TestResult for possible ↵ | Adrien Di Mascio | 2009-01-30 | 1 | -1/+1 |
| | | | | postprocessing | ||||
* | fix assertFloatAlmostEquals to use msg | Alexandre Fayolle | 2009-01-26 | 1 | -1/+1 |
| | |||||
* | [testlib] fix bug in traceback formatting: handle cases where we source code ↵ | Adrien Di Mascio | 2009-01-22 | 1 | -1/+4 |
| | | | | is not available | ||||
* | use traceback.formation_exception_only to be more error-resistant when ↵ | Adrien Di Mascio | 2009-01-20 | 1 | -1/+1 |
| | | | | displaying fancy tracebacks with unicode strings |