Lines Matching refs:_im
1033 self._im = MIMEImage(self._imgdata)
1036 self.assertEqual(self._im.get_content_type(), 'image/gif')
1039 payload = self._im.get_payload()
1049 self._im.add_header('Content-Disposition', 'attachment',
1051 eq(self._im['content-disposition'],
1053 eq(self._im.get_params(header='content-disposition'),
1055 eq(self._im.get_param('filename', header='content-disposition'),
1058 eq(self._im.get_param('attachment', header='content-disposition'), '')
1059 unless(self._im.get_param('foo', failobj=missing,
1062 unless(self._im.get_param('foobar', missing) is missing)
1063 unless(self._im.get_param('attachment', missing,
1159 self._im = image
1176 unless(m1 is self._im)