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
66b87872
Commit
66b87872
authored
Dec 16, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
This is already done by required Business Template.
parent
959a0027
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
master/product/Vifib/tests/VifibMixin.py
master/product/Vifib/tests/VifibMixin.py
+0
-16
No files found.
master/product/Vifib/tests/VifibMixin.py
View file @
66b87872
...
...
@@ -33,10 +33,6 @@ from Products.ERP5Type.tests.utils import DummyMailHost
import
os
from
DateTime
import
DateTime
REQUIRED_NOTIFICATION_MESSAGE_REFERENCE_LIST
=
[
'crendential_request-confirmation-without-password'
,
]
class
testVifibMixin
(
ERP5TypeTestCase
):
"""
Mixin class for unit test of Vifib.
...
...
@@ -189,17 +185,6 @@ class testVifibMixin(ERP5TypeTestCase):
"""
return
"vifib_default_system_preference"
def
setupNotificationModule
(
self
):
module
=
self
.
portal
.
notification_message_module
isTransitionPossible
=
self
.
portal
.
portal_workflow
.
isTransitionPossible
for
reference
in
REQUIRED_NOTIFICATION_MESSAGE_REFERENCE_LIST
:
for
message
in
module
.
searchFolder
(
portal_type
=
'Notification Message'
,
reference
=
reference
):
message
=
message
.
getObject
()
if
isTransitionPossible
(
message
,
'validate'
):
message
.
validate
()
def
prepareTestUsers
(
self
):
"""
Prepare test users.
...
...
@@ -307,7 +292,6 @@ class testVifibMixin(ERP5TypeTestCase):
self
.
setupVifibMachineAuthenticationPlugin
()
self
.
setupVifibShadowAuthenticationPlugin
()
self
.
setPreference
()
self
.
setupNotificationModule
()
self
.
prepareTestUsers
()
self
.
prepareVifibAccountingPeriod
()
self
.
prepareTestServices
()
...
...
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