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
1
Merge Requests
1
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
Romain Courteaud
slapos.core
Commits
42d4d863
Commit
42d4d863
authored
Apr 10, 2024
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_rss_style: test: fixup permission issue
parent
c8fd80f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
master/bt5/slapos_rss_style/TestTemplateItem/portal_components/test.erp5.testSlapOSRSSStyleSkins.py
...em/portal_components/test.erp5.testSlapOSRSSStyleSkins.py
+8
-0
No files found.
master/bt5/slapos_rss_style/TestTemplateItem/portal_components/test.erp5.testSlapOSRSSStyleSkins.py
View file @
42d4d863
...
@@ -292,10 +292,14 @@ class TestSlapOSFolder_getOpenTicketList(TestRSSSyleSkinsMixin):
...
@@ -292,10 +292,14 @@ class TestSlapOSFolder_getOpenTicketList(TestRSSSyleSkinsMixin):
'{}-{}'
.
format
(
event
.
getFollowUp
(),
'{}-{}'
.
format
(
event
.
getFollowUp
(),
event
.
getRelativeUrl
()))
event
.
getRelativeUrl
()))
self
.
logout
()
self
.
login
()
ticket
.
start
()
ticket
.
start
()
with
TemporaryAlarmScript
(
self
.
portal
,
'Base_reindexAndSenseAlarm'
,
with
TemporaryAlarmScript
(
self
.
portal
,
'Base_reindexAndSenseAlarm'
,
"'disabled'"
,
attribute
=
'comment'
):
"'disabled'"
,
attribute
=
'comment'
):
self
.
tic
()
self
.
tic
()
self
.
login
(
ticket
.
getDestinationDecisionValue
().
getUserId
())
self
.
portal
.
portal_skins
.
changeSkin
(
'RSS'
)
self
.
portal
.
portal_skins
.
changeSkin
(
'RSS'
)
open_ticket_list
=
module
.
Folder_getOpenTicketList
()
open_ticket_list
=
module
.
Folder_getOpenTicketList
()
self
.
assertEqual
(
len
(
open_ticket_list
),
expected_amount
)
self
.
assertEqual
(
len
(
open_ticket_list
),
expected_amount
)
...
@@ -545,10 +549,14 @@ class TestSlapOSBase_getTicketRelatedEventList(TestRSSSyleSkinsMixin):
...
@@ -545,10 +549,14 @@ class TestSlapOSBase_getTicketRelatedEventList(TestRSSSyleSkinsMixin):
self
.
assertEqual
(
open_related_ticket_list
[
0
].
title
,
self
.
assertEqual
(
open_related_ticket_list
[
0
].
title
,
ticket
.
getTitle
())
ticket
.
getTitle
())
self
.
logout
()
self
.
login
()
ticket
.
start
()
ticket
.
start
()
with
TemporaryAlarmScript
(
self
.
portal
,
'Base_reindexAndSenseAlarm'
,
with
TemporaryAlarmScript
(
self
.
portal
,
'Base_reindexAndSenseAlarm'
,
"'disabled'"
,
attribute
=
'comment'
):
"'disabled'"
,
attribute
=
'comment'
):
self
.
tic
()
self
.
tic
()
self
.
login
(
person
.
getUserId
())
self
.
portal
.
portal_skins
.
changeSkin
(
'RSS'
)
self
.
portal
.
portal_skins
.
changeSkin
(
'RSS'
)
open_related_ticket_list
=
document
.
Base_getTicketRelatedEventList
()
open_related_ticket_list
=
document
.
Base_getTicketRelatedEventList
()
self
.
assertEqual
(
len
(
open_related_ticket_list
),
1
)
self
.
assertEqual
(
len
(
open_related_ticket_list
),
1
)
...
...
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