(self)
| 656 | self.tempFiles.append(fileName) |
| 657 | |
| 658 | def test_basic(self): |
| 659 | # Make sure that a local file just gets its own location returned and |
| 660 | # a headers value is returned. |
| 661 | result = urllib.request.urlretrieve("file:%s" % os_helper.TESTFN) |
| 662 | self.assertEqual(result[0], os_helper.TESTFN) |
| 663 | self.assertIsInstance(result[1], email.message.Message, |
| 664 | "did not get an email.message.Message instance " |
| 665 | "as second returned value") |
| 666 | |
| 667 | def test_copy(self): |
| 668 | # Test that setting the filename argument works. |
nothing calls this directly
no test coverage detected