Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lukas Niegsch
erp5
Commits
7e2725fa
Commit
7e2725fa
authored
Jan 10, 2020
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: fixup query module jump change
See
b678a025
parent
b678a025
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
product/ERP5/tests/testERP5Core.py
product/ERP5/tests/testERP5Core.py
+2
-2
product/ERP5/tests/testQueryModule.py
product/ERP5/tests/testQueryModule.py
+1
-1
No files found.
product/ERP5/tests/testERP5Core.py
View file @
7e2725fa
...
@@ -242,8 +242,8 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
...
@@ -242,8 +242,8 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
{
'id'
:
'view_historical_diff'
,
{
'id'
:
'view_historical_diff'
,
'title'
:
'View Historical Diff'
}],
'title'
:
'View Historical Diff'
}],
'object_jio_action'
:
[{
'id'
:
'post_query'
,
'title'
:
'Post a Query'
}],
'object_jio_action'
:
[{
'id'
:
'post_query'
,
'title'
:
'Post a Query'
}],
'object_j
ump'
:
[{
'id'
:
'jump_query'
,
'title'
:
'Queries'
}
,
'object_j
io_jump'
:
[{
'id'
:
'jump_query'
,
'title'
:
'Queries'
}]
,
{
'id'
:
'jump_related_object'
,
'title'
:
'Related Objects'
}],
'object_jump'
:
[
{
'id'
:
'jump_related_object'
,
'title'
:
'Related Objects'
}],
'object_search'
:
[{
'title'
:
'Search'
,
'id'
:
'search'
}],
'object_search'
:
[{
'title'
:
'Search'
,
'id'
:
'search'
}],
'object_sort'
:
[{
'title'
:
'Sort'
,
'id'
:
'sort_on'
}],
'object_sort'
:
[{
'title'
:
'Sort'
,
'id'
:
'sort_on'
}],
'object_ui'
:
[{
'title'
:
'Modify UI'
,
'id'
:
'list_ui'
}],
'object_ui'
:
[{
'title'
:
'Modify UI'
,
'id'
:
'list_ui'
}],
...
...
product/ERP5/tests/testQueryModule.py
View file @
7e2725fa
...
@@ -62,7 +62,7 @@ class TestQueryModule(ERP5TypeTestCase):
...
@@ -62,7 +62,7 @@ class TestQueryModule(ERP5TypeTestCase):
def
test_jump_query_action_visible
(
self
):
def
test_jump_query_action_visible
(
self
):
action_list
=
self
.
portal
.
portal_actions
.
listFilteredActionsFor
(
action_list
=
self
.
portal
.
portal_actions
.
listFilteredActionsFor
(
self
.
doc
).
get
(
'object_jump'
)
self
.
doc
).
get
(
'object_j
io_j
ump'
)
self
.
assertEqual
(
1
,
len
([
ai
for
ai
in
self
.
assertEqual
(
1
,
len
([
ai
for
ai
in
action_list
if
ai
[
'name'
]
==
'Queries'
]))
action_list
if
ai
[
'name'
]
==
'Queries'
]))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment