Skip to content
Snippets Groups Projects
Commit 684418e0309f authored by François Ferry's avatar François Ferry
Browse files

feat!: upgrade CW to version 4 and add web cube dependency

parent 2d5ec172c6bd
No related branches found
No related tags found
1 merge request!46feat!: upgrade CW to version 4 and add web cube dependency
Pipeline #198977 canceled
......@@ -14,8 +14,9 @@
web = f"https://forge.extranet.logilab.fr/cubicweb/cubes/{distname}"
__depends__ = {
"cubicweb": ">= 3.38.0, < 3.39.0",
"cubicweb-bootstrap": ">= 1.3.1",
"cubicweb": ">= 4.0.0, < 5.0.0",
"cubicweb-web": ">= 1.0.0, < 2.0.0",
"cubicweb-bootstrap": ">= 2.0.0, < 3.0.0",
}
__recommends__ = {}
......
import unittest
from cubicweb.devtools.testlib import CubicWebTC
from cubicweb_web.devtools.testlib import WebCWTC
from cubicweb.devtools.htmlparser import XMLValidator
......@@ -4,7 +4,7 @@
from cubicweb.devtools.htmlparser import XMLValidator
class BoostrapTheMainTemplateTC(CubicWebTC):
class BoostrapTheMainTemplateTC(WebCWTC):
def test_valid_xhtml_index(self):
with self.admin_access.web_request() as req:
self.view("index", req=req)
......
......@@ -4,6 +4,7 @@
[testenv]
deps =
pytest
webtest
-rdev-requirements.txt
commands =
{envpython} -m pytest {posargs}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment