Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Léo-Paul Géneau
slapos.core
Commits
44be1e9b
Commit
44be1e9b
authored
Nov 24, 2017
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: testSlapOSHypermediaSkins icon is not present on actions at hateoas
parent
7e635da6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
13 deletions
+19
-13
master/bt5/slapos_jio/TestTemplateItem/portal_components/test.erp5.testSlapOSHypermediaSkins.py
.../portal_components/test.erp5.testSlapOSHypermediaSkins.py
+19
-13
No files found.
master/bt5/slapos_jio/TestTemplateItem/portal_components/test.erp5.testSlapOSHypermediaSkins.py
View file @
44be1e9b
...
...
@@ -217,30 +217,36 @@ class TestSlapOSPersonERP5Document_getHateoas(TestSlapOSHypermediaMixin):
self
.
assertEqual
(
len
(
action_object_slap
),
3
)
for
action
in
[
{
'href'
:
'%s/Person_getHateoasComputerList'
%
\
u'href'
:
u
'%s/Person_getHateoasComputerList'
%
\
person_user
.
absolute_url
(),
'name'
:
'get_hateoas_computer_list'
,
'title'
:
'getHateoasComputerList'
u'name'
:
u'get_hateoas_computer_list'
,
u'icon'
:
u''
,
u'title'
:
u'getHateoasComputerList'
},
{
'href'
:
'%s/Person_getHateoasHostingSubscriptionList'
%
\
u'href'
:
u
'%s/Person_getHateoasHostingSubscriptionList'
%
\
person_user
.
absolute_url
(),
'name'
:
'get_hateoas_hosting_subscription_list'
,
'title'
:
'getHateoasHostingSubscriptionList'
u'name'
:
u'get_hateoas_hosting_subscription_list'
,
u'icon'
:
u''
,
u'title'
:
u'getHateoasHostingSubscriptionList'
},
{
'href'
:
'%s/Person_getHateoasInformation'
%
\
u'href'
:
u
'%s/Person_getHateoasInformation'
%
\
person_user
.
absolute_url
(),
'name'
:
'get_hateoas_information'
,
'title'
:
'getHateoasInformation'
u'name'
:
u'get_hateoas_information'
,
u'icon'
:
u''
,
u'title'
:
u'getHateoasInformation'
},
]:
self
.
assertTrue
(
action
in
action_object_slap
)
self
.
assertTrue
(
action
in
action_object_slap
,
\
"%s not in %s"
%
(
action
,
action_object_slap
))
self
.
assertEquals
(
results
[
'_links'
][
'action_object_slap_post'
],
{
"href"
:
'%s/Person_requestHateoasHostingSubscription'
%
\
u"href"
:
u
'%s/Person_requestHateoasHostingSubscription'
%
\
person_user
.
absolute_url
(),
"name"
:
"request_hateoas_hosting_subscription"
,
"title"
:
"requestHateoasHostingSubscription"
u"name"
:
u"request_hateoas_hosting_subscription"
,
u'icon'
:
u''
,
u"title"
:
u"requestHateoasHostingSubscription"
})
class
TestSlapOSBase_getHateoasMaster
(
TestSlapOSHypermediaMixin
):
...
...
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