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
Labels
Merge Requests
138
Merge Requests
138
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
35f1937b
Commit
35f1937b
authored
8 years ago
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix testERP5Core actions do not match expected
parent
77d31fe3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
product/ERP5/tests/testERP5Core.py
product/ERP5/tests/testERP5Core.py
+4
-1
No files found.
product/ERP5/tests/testERP5Core.py
View file @
35f1937b
...
@@ -230,7 +230,8 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
...
@@ -230,7 +230,8 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
{
'title'
:
'Undo'
,
'id'
:
'undo'
}],
{
'title'
:
'Undo'
,
'id'
:
'undo'
}],
'object'
:
[],
'object'
:
[],
'object_action'
:
[{
'id'
:
'post_query'
,
'title'
:
'Post a Query'
}],
'object_action'
:
[{
'id'
:
'post_query'
,
'title'
:
'Post a Query'
}],
'object_jump'
:
[{
'id'
:
'jump_query'
,
'title'
:
'Queries'
}],
'object_jump'
:
[{
'id'
:
'jump_related_object'
,
'title'
:
'Related Objects'
},
{
'id'
:
'jump_query'
,
'title'
:
'Queries'
}],
'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'
}],
...
@@ -250,6 +251,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
...
@@ -250,6 +251,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
expected
=
{
'folder'
:
[],
expected
=
{
'folder'
:
[],
'global'
:
[],
'global'
:
[],
'object'
:
[],
'object'
:
[],
'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'
}],
...
@@ -265,6 +267,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
...
@@ -265,6 +267,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
expected
=
{
'folder'
:
[],
expected
=
{
'folder'
:
[],
'global'
:
[],
'global'
:
[],
'object'
:
[],
'object'
:
[],
'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'
}],
...
...
This diff is collapsed.
Click to expand it.
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