Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Kirill Smelkov
cpython
Commits
763af417
Commit
763af417
authored
Jan 27, 2002
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test_multipart_one_part(): Idempotency test case for a multipart/*
with only one subpart.
parent
15e9dc9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Lib/test/test_email.py
Lib/test/test_email.py
+5
-1
No files found.
Lib/test/test_email.py
View file @
763af417
# Copyright (C) 2001 Python Software Foundation
# Copyright (C) 2001
,2002
Python Software Foundation
# email package unit tests
import
os
...
...
@@ -790,6 +790,10 @@ class TestIdempotent(unittest.TestCase):
msg
,
text
=
self
.
_msgobj
(
'msg_21.txt'
)
self
.
_idempotent
(
msg
,
text
)
def
test_multipart_one_part
(
self
):
msg
,
text
=
self
.
_msgobj
(
'msg_23.txt'
)
self
.
_idempotent
(
msg
,
text
)
def
test_content_type
(
self
):
eq
=
self
.
assertEquals
# Get a message object and reset the seek pointer for other tests
...
...
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