Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
6c44fa17
Commit
6c44fa17
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
ec7d3866
Changes
1
Show 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 @
6c44fa17
...
@@ -792,7 +792,7 @@ class TestERP5Document_getHateoas_mode_traverse(ERP5HALJSONStyleSkinsMixin):
...
@@ -792,7 +792,7 @@ class TestERP5Document_getHateoas_mode_traverse(ERP5HALJSONStyleSkinsMixin):
self
.
assertEqual
(
result_dict
[
'pt'
],
'form_view'
)
self
.
assertEqual
(
result_dict
[
'pt'
],
'form_view'
)
self
.
assertEqual
(
result_dict
[
'action'
],
'Base_edit'
)
self
.
assertEqual
(
result_dict
[
'action'
],
'Base_edit'
)
self
.
assertEqual
(
result_dict
[
'group_list'
][
0
][
0
],
'left'
)
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"
)
self
.
assertEqual
(
result_dict
[
'_debug'
],
"traverse"
)
class
TestERP5Document_getHateoas_mode_search
(
ERP5HALJSONStyleSkinsMixin
):
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