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
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
c6a078f7
Commit
c6a078f7
authored
Nov 27, 2017
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hal_json_style: adjust test now that Foo_view/my_id is a Proxyfield
parent
e113fae3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bt5/erp5_hal_json_style/TestTemplateItem/portal_components/test.erp5.testHalJsonStyle.py
...plateItem/portal_components/test.erp5.testHalJsonStyle.py
+1
-1
No files found.
bt5/erp5_hal_json_style/TestTemplateItem/portal_components/test.erp5.testHalJsonStyle.py
View file @
c6a078f7
...
...
@@ -775,7 +775,7 @@ class TestERP5Document_getHateoas_mode_traverse(ERP5HALJSONStyleSkinsMixin):
self
.
assertEqual
(
result_dict
[
'pt'
],
'form_view'
)
self
.
assertEqual
(
result_dict
[
'action'
],
'Base_edit'
)
self
.
assertEqual
(
result_dict
[
'group_list'
][
0
][
0
],
'left'
)
self
.
assertEqual
(
result_dict
[
'group_list'
][
0
][
1
][
0
],
[
'my_id'
,
{
'meta_type'
:
'
String
Field'
}])
self
.
assertEqual
(
result_dict
[
'group_list'
][
0
][
1
][
0
],
[
'my_id'
,
{
'meta_type'
:
'
Proxy
Field'
}])
self
.
assertEqual
(
result_dict
[
'_debug'
],
"traverse"
)
class
TestERP5Document_getHateoas_mode_search
(
ERP5HALJSONStyleSkinsMixin
):
...
...
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