Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
squareui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cubicweb
cubes
squareui
Commits
684418e0309f
Commit
684418e0309f
authored
1 year ago
by
François Ferry
Browse files
Options
Downloads
Patches
Plain Diff
feat!: upgrade CW to version 4 and add web cube dependency
parent
2d5ec172c6bd
No related branches found
No related tags found
1 merge request
!46
feat!: upgrade CW to version 4 and add web cube dependency
Pipeline
#198977
canceled
1 year ago
Stage: lint
Stage: tests
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cubicweb_squareui/__pkginfo__.py
+3
-2
3 additions, 2 deletions
cubicweb_squareui/__pkginfo__.py
test/unittest_views.py
+2
-2
2 additions, 2 deletions
test/unittest_views.py
tox.ini
+1
-0
1 addition, 0 deletions
tox.ini
with
6 additions
and
4 deletions
cubicweb_squareui/__pkginfo__.py
+
3
−
2
View file @
684418e0
...
...
@@ -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__
=
{}
...
...
This diff is collapsed.
Click to expand it.
test/unittest_views.py
+
2
−
2
View file @
684418e0
import
unittest
from
cubicweb.devtools.testlib
import
Cubic
WebTC
from
cubicweb
_web
.devtools.testlib
import
Web
CW
TC
from
cubicweb.devtools.htmlparser
import
XMLValidator
...
...
@@ -4,7 +4,7 @@
from
cubicweb.devtools.htmlparser
import
XMLValidator
class
BoostrapTheMainTemplateTC
(
Cubic
WebTC
):
class
BoostrapTheMainTemplateTC
(
Web
CW
TC
):
def
test_valid_xhtml_index
(
self
):
with
self
.
admin_access
.
web_request
()
as
req
:
self
.
view
(
"
index
"
,
req
=
req
)
...
...
This diff is collapsed.
Click to expand it.
tox.ini
+
1
−
0
View file @
684418e0
...
...
@@ -4,6 +4,7 @@
[testenv]
deps
=
pytest
webtest
-rdev-requirements.txt
commands
=
{envpython}
-m
pytest
{posargs}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment