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
Labels
Merge Requests
143
Merge Requests
143
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
fc48d0b0
Commit
fc48d0b0
authored
Mar 10, 2024
by
Kazuhiko Shiozaki
Committed by
Jérome Perrin
May 08, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "testInterfacePost: ignore the difference of Message-ID header format on zope5py3."
This reverts commit
92f2197f
.
parent
0929627d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_interface_post/TestTemplateItem/portal_components/test.erp5.testInterfacePost.py
...lateItem/portal_components/test.erp5.testInterfacePost.py
+2
-2
No files found.
bt5/erp5_interface_post/TestTemplateItem/portal_components/test.erp5.testInterfacePost.py
View file @
fc48d0b0
...
@@ -247,7 +247,7 @@ class TestInterfacePost(ERP5TypeTestCase):
...
@@ -247,7 +247,7 @@ class TestInterfacePost(ERP5TypeTestCase):
last_message
,
=
self
.
portal
.
MailHost
.
_message_list
last_message
,
=
self
.
portal
.
MailHost
.
_message_list
self
.
assertNotEqual
((),
last_message
)
self
.
assertNotEqual
((),
last_message
)
_
,
_
,
message_text
=
last_message
_
,
_
,
message_text
=
last_message
self
.
assertIn
(
message_text
.
replace
(
b'Message-ID:
\
n
'
,
b'Message-ID: '
)
,
sequence
[
'internet_message_post'
].
getData
())
self
.
assertIn
(
message_text
,
sequence
[
'internet_message_post'
].
getData
())
def
_getMailHostMessageForRecipient
(
self
,
recipient_email_address
):
def
_getMailHostMessageForRecipient
(
self
,
recipient_email_address
):
message_list
=
self
.
portal
.
MailHost
.
_message_list
message_list
=
self
.
portal
.
MailHost
.
_message_list
...
@@ -268,7 +268,7 @@ class TestInterfacePost(ERP5TypeTestCase):
...
@@ -268,7 +268,7 @@ class TestInterfacePost(ERP5TypeTestCase):
self
.
assertEqual
(
len
(
message_list
),
1
)
self
.
assertEqual
(
len
(
message_list
),
1
)
message
=
message_list
[
0
]
message
=
message_list
[
0
]
_
,
_
,
message_text
=
message
_
,
_
,
message_text
=
message
self
.
assertIn
(
message_text
.
replace
(
b'Message-ID:
\
n
'
,
b'Message-ID: '
)
,
post
.
getData
())
self
.
assertIn
(
message_text
,
post
.
getData
())
def
stepCheckMailMessagePreviewDisplaysLatestInternetMessagePostData
(
self
,
sequence
=
None
,
sequence_list
=
None
):
def
stepCheckMailMessagePreviewDisplaysLatestInternetMessagePostData
(
self
,
sequence
=
None
,
sequence_list
=
None
):
mail_message
=
sequence
[
'mail_message'
]
mail_message
=
sequence
[
'mail_message'
]
...
...
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