(self)
| 1629 | self.assertEqual(actual, expected) |
| 1630 | |
| 1631 | def test_multiple_tabs_as_separator(self): |
| 1632 | # Test with multiple tabls as separator. |
| 1633 | for i in range(len(self.domains)): |
| 1634 | data = (b"0.0.0.0\t\t\t\t\t\t" + self.domains[i]).decode("utf-8") |
| 1635 | expected = "0.0.0.0\t\t\t\t\t\t" + self.expected_domains[i] |
| 1636 | |
| 1637 | actual = domain_to_idna(data) |
| 1638 | |
| 1639 | self.assertEqual(actual, expected) |
| 1640 | |
| 1641 | def test_line_with_comment_at_the_end(self): |
| 1642 | # Test with a space as separator. |
nothing calls this directly
no test coverage detected