summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Properly fix @monkeypatch by changing its contract. Actually closes #104047logilab-common-version-0.59.0Sylvain Th?nault2013-01-211-15/+17
| | | | | This follows 8d13747da834 and f8fb4a6d9249 which should not have been commited before this cleanup.
* [merge] default is stableAurelien Campeas2013-01-214-6/+90
|\
| * [registry] introduce RegistrableObject and RegistrableInstance base classes. ↵Sylvain Th?nault2013-01-143-2/+72
| | | | | | | | | | | | | | | | | | | | Closes #98742 and make them mandatory *for automatic registration*. Cleanup automatic registration code accordingly. Instances are now registrable, and automatically registered provided they inherit from RegistrableInstance.
| * [test, deprecation] update tests so we actually test somethingSylvain Th?nault2012-11-301-4/+18
| |
* | py3k cached wipSylvain Th?nault2012-10-231-13/+13
| |
* | [py3k @cached] fix compat of dark corners for the @monkeypatch decorator, ↵Sylvain Th?nault2012-10-231-2/+10
|/ | | | making tests pass. Closes #104047
* [decorators test] use assertIsInstance as expectedSylvain Th?nault2012-10-231-2/+2
|
* python3: fix code and test so most tests go green. Partially closes #104047Sylvain Th?nault2012-10-234-8/+13
| | | | | the only failing test concerns the @monkeypatch decorator and fix is subject to controversy, so post-pone it so we may discuss about it.
* [shellutils] fix tests broken because progress bars now use '=' not '.'Nicolas Chauvat2012-10-091-3/+3
|
* don't test unittest2 itself...Sylvain Th?nault2012-08-291-31/+0
|
* silent unittest2 warningsSylvain Th?nault2012-08-2910-56/+59
|
* [tests] remove useless skipped testlogilab-common-version-0.58.2David Douard2012-07-301-4/+0
|
* [modutils] fix load_module_from_path (closes #100935)Aurelien Campeas2012-07-303-0/+18
| | | | | | | | | | | | | A very old bug in modutils, that leads to doubly loading some modules. By chance on Linux (or the platform we typically use) it seems one the two module gets forgoten as soon as loaded. Unfortunately on Windows, with CubicWeb, it was found that the first module instance was the one on which the mro was built and the second one hosted the super(...) call with a different class id for the litteral within super(ThisClass, self).... The exact reason for the dual behaviour is still unknown but it could well be one of those 'platform dependant' bits that riddle Python.
* Generalise usage of disutils.sysconfig.get_python_version so eg. ↵Sylvain Th?nault2012-07-171-15/+12
| | | | | | is_standard_module works for other python impl. like Jython, IronPython (and should works for pypy). Closes #99493 Also add more test for this function.
* backport stableSylvain Th?nault2012-03-151-3/+8
|\
| * Fix bug in textutils.apply_units, raise an Exception if string does not ↵Damien Garaud2012-02-201-3/+8
| | | | | | | | | | | | match (closes #88808). Update the dedicated unit test.
* | [shellutil] add argument to ``ProgressBar.update`` to tune cursor ↵Alain Leufroy2012-03-151-0/+24
| | | | | | | | progression (closes #88981)
* | backported cubicweb's registry. Closes #84654Sylvain Th?nault2012-01-121-0/+163
|/
* [decorators] provide a @cachedproperty decoratorAdrien Di Mascio2011-10-101-1/+37
|
* [decorators] monkeypatch should build a method type closes #73920Aurelien Campeas2011-09-061-0/+34
|
* decorators: test and fix copy_cache, bug introduced in 1411:2f974a847d7eSylvain Th?nault2011-05-031-1/+13
|
* test and fix clear_cache to work on cached **properties**. remove debug printSylvain Th?nault2011-04-111-0/+13
|
* decorators: refactored @cached to allow usages such as ↵Sylvain Th?nault2011-04-081-1/+37
| | | | @cached(cacheattr='_cachename') while keeping bw compat
* [packaging] prepare 0.55.1logilab-common-version-0.55.1Nicolas Chauvat2011-03-2823-23/+23
|
* [dates] provide a somewhat reasonable workaround for ticks2datetime where ↵Adrien Di Mascio2011-03-281-2/+9
| | | | year < 1900
* [textutils] fix unormalize implementationAdrien Di Mascio2011-03-021-2/+10
| | | | | | | | Give a chance to NFKD decomposition even if ord(c) > 2**8, this will work with a few more cases. add a substitute optional parameter to provide a replacement char if decomposition fails
* fix the ordered_nodes fix by reverting to previous orderNicolas Chauvat2011-02-091-4/+7
|
* graph: fix and test ordered_nodes() [closes #60288]Nicolas Chauvat2011-01-311-1/+37
|
* fix test-interdependency pb in unittest_modutils. Also, stop renaming ↵Sylvain Th?nault2011-01-101-14/+20
| | | | unittest2.TestCase to replace it by another class, this is counter-intuitive when reading the test: ease understanding with another name for the replacement class
* stop testing a deprecated behaviourSylvain Th?nault2011-01-061-5/+0
|
* [tests] use plain package file (no symlink)Julien Jehannet2011-01-054-4/+2
| | | | Create a clean zipped mypypa package (without EGG-INFO)
* [testlib] do not stop generative test if exception occuredJulien Jehannet2010-11-291-2/+2
|
* [testlib] manage SkipTest exception in __call__ statement (as unittest2 does)Julien Jehannet2010-11-291-1/+1
|
* py3k: replace "file(path)" with "open(path)"Emile Anclin2010-12-061-5/+5
|
* cleanup: remove more deprecated stuffEmile Anclin2010-12-061-30/+0
| | | | | remove OutErrCaptureTC and captured_output more explicit deprecated warning for special assert methods
* cleanup: rename deprecated test methodsEmile Anclin2010-12-061-56/+36
|
* cleanup: remove DFCaptureEmile Anclin2010-12-061-72/+3
|
* cleanup: remove deprecated norm_readEmile Anclin2010-12-061-1/+1
|
* [decorators] prevent caching of decorator functionsAurelien Campeas2010-11-301-0/+5
|
* [decorators] cached try to keep the original function nameAurelien Campeas2010-11-261-1/+4
|
* [test] readd test about relative importJulien Jehannet2010-11-231-2/+7
|
* [test] fix import test about dropped db moduleJulien Jehannet2010-11-221-2/+2
|
* cleanup: remove deprecated compat importsEmile Anclin2010-11-222-3/+0
|
* fix testsEmile Anclin2010-11-222-111/+0
|
* cleanup: remove deprecated modulesEmile Anclin2010-11-221-76/+0
|
* [testlib] isolation of pytest related code into pytest.pyJulien Jehannet2010-11-161-26/+14
|
* cleanup: remove strange ghost filesEmile Anclin2010-11-162-33/+0
|
* [test] fix running of ModuleFileTC testsJulien Jehannet2010-11-151-7/+9
|
* 2to3 has some more usable fixersEmile Anclin2010-11-151-6/+6
|
* 2to3: fix a lot of white space after commaEmile Anclin2010-11-1513-127/+127
|