(self)
| 1584 | self.expected_domains = ["xn--oogle-wmc.com", "www.xn--hualae-0wa.cl"] |
| 1585 | |
| 1586 | def test_empty_line(self): |
| 1587 | data = ["", "\r", "\n"] |
| 1588 | |
| 1589 | for empty in data: |
| 1590 | expected = empty |
| 1591 | |
| 1592 | actual = domain_to_idna(empty) |
| 1593 | self.assertEqual(actual, expected) |
| 1594 | |
| 1595 | def test_commented_line(self): |
| 1596 | data = "# Hello World" |
nothing calls this directly
no test coverage detected