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
Labels
Merge Requests
0
Merge Requests
0
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
Rafael Monnerat
slapos.core
Commits
49106680
Commit
49106680
authored
Jun 02, 2020
by
Rafael Monnerat
👻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio_ui_test: Remove Authentication Events
This prevents some tests to work
parent
9fb46b08
Pipeline
#9694
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
master/bt5/slapos_jio_ui_test/SkinTemplateItem/portal_skins/slapos_ui_test/ERP5Site_initSlapOSUITest.py
.../portal_skins/slapos_ui_test/ERP5Site_initSlapOSUITest.py
+8
-1
No files found.
master/bt5/slapos_jio_ui_test/SkinTemplateItem/portal_skins/slapos_ui_test/ERP5Site_initSlapOSUITest.py
View file @
49106680
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
from
DateTime
import
DateTime
from
DateTime
import
DateTime
portal
=
context
.
getPortalObject
()
portal
=
context
.
getPortalObject
()
preference
=
portal
.
portal_preferences
.
getActiveSystemPreference
()
preference
=
portal
.
portal_preferences
.
getActiveSystemPreference
()
preference
.
edit
(
preference
.
edit
(
preferred_credential_alarm_automatic_call
=
1
,
preferred_credential_alarm_automatic_call
=
1
,
preferred_credential_recovery_automatic_approval
=
1
,
preferred_credential_recovery_automatic_approval
=
1
,
...
@@ -74,4 +74,11 @@ except KeyError:
...
@@ -74,4 +74,11 @@ except KeyError:
if
slaprunner_software_release
.
getValidationState
()
==
"draft"
:
if
slaprunner_software_release
.
getValidationState
()
==
"draft"
:
slaprunner_software_release
.
publishAlive
()
slaprunner_software_release
.
publishAlive
()
portal
=
context
.
getPortalObject
()
# some are already indexed
kw
=
{
'portal_type'
:
(
'Authentication Event'
,
'Passoword Event'
)}
for
authentication_event
in
portal
.
portal_catalog
(
**
kw
):
portal
.
system_event_module
.
manage_delObjects
(
ids
=
[
authentication_event
.
getId
()])
return
"Done."
return
"Done."
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