requirements/test-misc.txt
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 13 Apr 2017 15:04:45 +0200
branch3.25
changeset 12160 608481168432
parent 11685 6c263b8091d3
child 12205 a97cdb531a75
permissions -rw-r--r--
[entities] Fix backward compat of IDublinCore adapter wrt dc_long_title `entity.dc_long_title()` used to fallback to `dc_title()`, and most entity types were relying on this, thus only implementing the later. Since introduction of the IDublinCore adapter, if one call `entity.dc_long_title()` on an entity that only implements `dc_title()`, it will retrieve the adapter which will then call its own `title()` method instead of the `dc_title()` method of the entity as expected. Fix this by calling instead `entity.dc_title()` which will eventually kick in the backward compat layer if necessary.

### Requirements for tests in various cubicweb/**/test directories. ###

## shared by several test folders
cubicweb-card
docutils
Twisted < 16.0.0
webtest

## cubicweb/test
Pygments
mock
#fyzz XXX pip install fails
cubicweb-file
cubicweb-localperms
cubicweb-tag

## cubicweb/devtools/test
flake8

## cubicweb/hooks/test
psycopg2

## cubicweb/pyramid/test
pyramid >= 1.5.0
waitress >= 0.8.9
wsgicors >= 0.3
pyramid_multiauth

## cubicweb/sobject/test
cubicweb-comment