https://philpep.org/pub/hg/cubicweb/ en-us cubicweb: requirements/test-web.txt history requirements/test-web.txt revision history Remove Twisted web server https://philpep.org/pub/hg/cubicweb/log/9d88e1177c35/requirements/test-web.txt
Twisted web server is not used anymore and has been superseded by
pyramid many years ago. Furthermore, our usage is not compatible with
Python 3. So we drop the "etwist" sub-package.

As a consequence, "all-in-one" configuration type gets dropped as it was
Twisted-specific. We resurrect it in cubicweb/pyramid/config.py by only
keeping options used by the "pyramid". Similarly, we introduce a
AllInOneCreateHandler in cubicweb/pyramid/pyramidctl.py that is
basically the one that lived in cubicweb/etwist/twctl.py and is used to
create the "all-in-one" instance. Added a TODO here about "pyramid.ini"
that could be generated at the end of bootstrap() method.

In cubicweb/devtools/httptest.py, CubicWebServerTC is now equivalent to
CubicWebWsgiTC and the latter is dropped.]]>
Denis Laxalde <denis.laxalde@logilab.fr> Thu, 21 Mar 2019 14:33:54 +0100
[web/test] drop dependency on third party cubes https://philpep.org/pub/hg/cubicweb/log/aff5d3498f68/requirements/test-web.txt
Drop dependency on cubicweb-file, cubicweb-blog and cubicweb-tag for cubicweb/web/test
Copy required parts of cubes (schema, entities, views and hooks) into
cubicweb/web/test/data/cubicweb-<cube> that make tests pass.]]>
Philippe Pepiot <philippe.pepiot@logilab.fr> Tue, 19 Mar 2019 13:17:47 +0100
Merge with branch 3.26 https://philpep.org/pub/hg/cubicweb/log/540904e0ff0f/requirements/test-web.txt Denis Laxalde <denis.laxalde@logilab.fr> Mon, 11 Mar 2019 14:34:14 +0100 Depend on cubicweb-file >= 2.0.0 https://philpep.org/pub/hg/cubicweb/log/9435e02be793/requirements/test-web.txt
I applied V1 of the patch, but V2 contained this extra hunk...]]>
Philippe Pepiot <philippe.pepiot@logilab.fr> Fri, 15 Jun 2018 17:42:50 +0200
Merge with 3.26 https://philpep.org/pub/hg/cubicweb/log/b5533de552c4/requirements/test-web.txt Philippe Pepiot <philippe.pepiot@logilab.fr> Thu, 28 Jun 2018 16:49:57 +0200 [py3] Use "utf-8" as input encoding for docutils in rest extension https://philpep.org/pub/hg/cubicweb/log/04ff0d3ef1d3/requirements/test-web.txt
Docutils says that "unicode" is an unknown encoding on Python3. Not sure
where "unicode" as an encoding comes (it's there since showtime) but
"utf-8" seems more appropriate.

From now on, rendering of CubicWeb's rst directive (e.g. ..winclude)
works on Python 3. Accordingly, we extend wdoc's test to demonstrate
this. For this we need to install docutils in tox's web environment.]]>
Denis Laxalde <denis.laxalde@logilab.fr> Thu, 28 Jun 2018 12:19:16 +0200
Merge with 3.26 https://philpep.org/pub/hg/cubicweb/log/58f05ffafeca/requirements/test-web.txt Denis Laxalde <denis.laxalde@logilab.fr> Tue, 19 Jun 2018 09:13:40 +0200 [test] Use cubicweb-file < 2.0.0 https://philpep.org/pub/hg/cubicweb/log/cd211bb9aa8e/requirements/test-web.txt
From version 2.0.0, cubicweb-file moved to new-style layout (Python
package) but we still expect it to be an old-style cube in CubicWeb's
tests (WebconfigTC in web/test/unittest_webconfig.py).]]>
Denis Laxalde <denis.laxalde@logilab.fr> Mon, 18 Jun 2018 08:47:03 +0200
Depend on cubicweb-file >= 2.0.0 https://philpep.org/pub/hg/cubicweb/log/b80f186b9dbe/requirements/test-web.txt
I applied V1 of the patch, but V2 contained this extra hunk...]]>
Philippe Pepiot <philippe.pepiot@logilab.fr> Fri, 15 Jun 2018 17:42:50 +0200
[tox] Have less test environments https://philpep.org/pub/hg/cubicweb/log/1817f8946c22/requirements/test-web.txt
This is to reduce the load on CI server because of parallel clones of the
repository in Docker containers. Only keep "server", and "web" environments
separated. All other prior environments are in "misc".

To avoid duplicate entries in requirements files, move them all in a
"requirements" directory (this appears to be a "common" practice, see e.g.
Celery).

Adjustments in tests:

* Rename cubicweb/hooks/test/unittest_notification.py so that it does not
conflict with cubicweb/sobjects/test/unittest_notification.py during test
discovery as they would have the same module name but different __file__
attribute.
* Add "comment" cube to the list of expected cubes in unittest_cwconfig.py as
this cube is pulled by requirements/test-mist.txt.

Closes #15440662.]]>
Denis Laxalde <denis.laxalde@logilab.fr> Fri, 23 Sep 2016 16:04:32 +0200