(self)
| 183 | self.assertTrue(f.read(), "reading from temporary file failed") |
| 184 | |
| 185 | def test_header(self): |
| 186 | # Make sure header returned as 2nd value from urlretrieve is good. |
| 187 | with self.urlretrieve(self.logo) as (file_location, info): |
| 188 | self.assertIsInstance(info, email.message.Message, |
| 189 | "info is not an instance of email.message.Message") |
| 190 | |
| 191 | logo = "http://www.pythontest.net/" |
| 192 |
nothing calls this directly
no test coverage detected