requirements/dev.txt
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 13 Apr 2017 15:04:45 +0200
branch3.25
changeset 12160 608481168432
parent 12070 a44f67dd0474
child 12569 c197f9382e53
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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11285
581b5b64b382 [tox] Put development dependencies into a dev-requirements.txt file
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff changeset
     1
pytest