Remove excess newlines
This commit is contained in:
parent
f12d243f03
commit
fdb4b24148
@ -166,7 +166,6 @@ class InlineTests(TestCase):
|
|||||||
self._check_filename('inline; filename="Not an attachment!"',
|
self._check_filename('inline; filename="Not an attachment!"',
|
||||||
"Not an attachment!")
|
"Not an attachment!")
|
||||||
|
|
||||||
|
|
||||||
def test_inlwithasciifilenamepdf(self):
|
def test_inlwithasciifilenamepdf(self):
|
||||||
"""'inline', specifying a filename of foo.pdf.
|
"""'inline', specifying a filename of foo.pdf.
|
||||||
|
|
||||||
@ -179,7 +178,6 @@ class InlineTests(TestCase):
|
|||||||
self._check_filename('inline; filename="foo.pdf"', "foo.pdf")
|
self._check_filename('inline; filename="foo.pdf"', "foo.pdf")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class AttachmentTests(AttachmentTestCase):
|
class AttachmentTests(AttachmentTestCase):
|
||||||
|
|
||||||
"""Various tests relating to the "attachment" disposition type.
|
"""Various tests relating to the "attachment" disposition type.
|
||||||
@ -535,7 +533,6 @@ class AttachmentTests(AttachmentTestCase):
|
|||||||
"""
|
"""
|
||||||
self._check_ignored(': inline; attachment; filename=foo.html')
|
self._check_ignored(': inline; attachment; filename=foo.html')
|
||||||
|
|
||||||
|
|
||||||
def test_attandinline(self):
|
def test_attandinline(self):
|
||||||
"""Both disposition types specified.
|
"""Both disposition types specified.
|
||||||
|
|
||||||
@ -543,7 +540,6 @@ class AttachmentTests(AttachmentTestCase):
|
|||||||
"""
|
"""
|
||||||
self._check_ignored('inline; attachment; filename=foo.html')
|
self._check_ignored('inline; attachment; filename=foo.html')
|
||||||
|
|
||||||
|
|
||||||
def test_attandinline2(self):
|
def test_attandinline2(self):
|
||||||
"""Both disposition types specified.
|
"""Both disposition types specified.
|
||||||
|
|
||||||
@ -551,7 +547,6 @@ class AttachmentTests(AttachmentTestCase):
|
|||||||
"""
|
"""
|
||||||
self._check_ignored('attachment; inline; filename=foo.html')
|
self._check_ignored('attachment; inline; filename=foo.html')
|
||||||
|
|
||||||
|
|
||||||
def test_attbrokenquotedfn(self):
|
def test_attbrokenquotedfn(self):
|
||||||
"""'attachment', specifying a filename parameter that is broken.
|
"""'attachment', specifying a filename parameter that is broken.
|
||||||
|
|
||||||
@ -758,7 +753,6 @@ class CharacterSetTests(AttachmentTestCase):
|
|||||||
self._check_filename("attachment; filename* =UTF-8''foo-%c3%a4.html",
|
self._check_filename("attachment; filename* =UTF-8''foo-%c3%a4.html",
|
||||||
'foo-ä.html')
|
'foo-ä.html')
|
||||||
|
|
||||||
|
|
||||||
def test_attwithfn2231quot(self):
|
def test_attwithfn2231quot(self):
|
||||||
"""'attachment', specifying a filename of foo-ä.html.
|
"""'attachment', specifying a filename of foo-ä.html.
|
||||||
|
|
||||||
@ -856,7 +850,6 @@ class EncodingFallbackTests(AttachmentTestCase):
|
|||||||
self._check_filename("attachment; filename*=UTF-8''foo-%c3%a4.html; "
|
self._check_filename("attachment; filename*=UTF-8''foo-%c3%a4.html; "
|
||||||
"filename=\"foo-ae.html\"", 'foo-ä.html')
|
"filename=\"foo-ae.html\"", 'foo-ä.html')
|
||||||
|
|
||||||
|
|
||||||
def test_attfnboth3(self):
|
def test_attfnboth3(self):
|
||||||
"""'attachment', specifying an ambigious filename.
|
"""'attachment', specifying an ambigious filename.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user