Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
erp5
Commits
a90f800f
Commit
a90f800f
authored
Mar 26, 2018
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_interface_post: update tests
parent
ff1f8b81
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
bt5/erp5_interface_post/TestTemplateItem/portal_components/test.erp5.testInterfacePost.py
...lateItem/portal_components/test.erp5.testInterfacePost.py
+0
-15
No files found.
bt5/erp5_interface_post/TestTemplateItem/portal_components/test.erp5.testInterfacePost.py
View file @
a90f800f
...
...
@@ -29,7 +29,6 @@ import time
from
Products.ERP5Type.tests.ERP5TypeLiveTestCase
import
ERP5TypeTestCase
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.utils
import
createZODBPythonScript
,
removeZODBPythonScript
from
Products.ZSQLCatalog.SQLCatalog
import
SimpleQuery
from
DateTime
import
DateTime
...
...
@@ -83,12 +82,6 @@ class TestInterfacePost(ERP5TypeTestCase):
self
.
recipient_list
=
[
self
.
recipient
,]
def
beforeTearDown
(
self
):
if
hasattr
(
self
.
portal
.
portal_skins
.
custom
,
"LetterPost_export"
):
removeZODBPythonScript
(
self
.
portal
.
portal_skins
.
custom
,
"LetterPost_export"
)
for
module_id
in
(
'event_module'
,
'internet_message_post_module'
,
'letter_post_module'
):
module
=
getattr
(
self
.
portal
,
module_id
)
module
.
manage_delObjects
(
list
(
module
.
objectIds
()))
...
...
@@ -107,14 +100,6 @@ class TestInterfacePost(ERP5TypeTestCase):
else
:
return
result_list
def
stepAllowAutoExportOfLetters
(
self
,
sequence
=
None
,
sequence_list
=
None
):
createZODBPythonScript
(
self
.
portal
.
portal_skins
.
custom
,
"LetterPost_export"
,
""
,
"context.export()"
,
)
def
_stepCreateEvent
(
self
,
portal_type
,
sequence
=
None
,
sequence_list
=
None
):
event
=
self
.
portal
.
event_module
.
newContent
(
portal_type
=
portal_type
,
...
...
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