[PATCH v2] [test] Update webconfig's tests accounting for cubicweb-file being now a package

Philippe Pepiot philippe.pepiot at logilab.fr
Fri Jun 15 17:39:56 CEST 2018


On 13/06/2018, Denis Laxalde wrote:
> # HG changeset patch
> # User Denis Laxalde <denis.laxalde at logilab.fr>
> # Date 1528728638 -7200
> #      Mon Jun 11 16:50:38 2018 +0200
> # Node ID 456f0c6bcb6a4260a943a1f1ad02b4c57ad67845
> # Parent  f90e0d5c9a647bbd3fe296814facf48f16b34332
> # Available At https://hg.logilab.org/review/cubicweb
> #              hg pull https://hg.logilab.org/review/cubicweb -r 456f0c6bcb6a
> # EXP-Topic cubicweb-file-is-a-package
> [test] Update webconfig's tests accounting for cubicweb-file being now a package
> 
> WebconfigTC.test_locate_all_files and WebconfigTC.test_locate_resource
> assumed that cubicweb-file was installed in <share>/cubes/file whereas,
> from the latest release, it is now a standard Python package thus
> installed in site-packages as cubicweb_file. We simply update base
> directory of these two tests.
> 
> Accordingly, we require cubicweb-file >= 2.0.0 in cubicweb/web's tests
> requirements.

Applied, thanks!


More information about the cubicweb-devel mailing list