mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
test_multipart_one_part(): Idempotency test case for a multipart/*
with only one subpart.
This commit is contained in:
parent
15e9dc9eac
commit
763af4173d
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (C) 2001 Python Software Foundation
|
# Copyright (C) 2001,2002 Python Software Foundation
|
||||||
# email package unit tests
|
# email package unit tests
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
@ -790,6 +790,10 @@ class TestIdempotent(unittest.TestCase):
|
||||||
msg, text = self._msgobj('msg_21.txt')
|
msg, text = self._msgobj('msg_21.txt')
|
||||||
self._idempotent(msg, text)
|
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):
|
def test_content_type(self):
|
||||||
eq = self.assertEquals
|
eq = self.assertEquals
|
||||||
# Get a message object and reset the seek pointer for other tests
|
# Get a message object and reset the seek pointer for other tests
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue