(self)
| 513 | self.assertEqual(self.client.getwelcome(), '220 welcome') |
| 514 | |
| 515 | def test_sanitize(self): |
| 516 | self.assertEqual(self.client.sanitize('foo'), repr('foo')) |
| 517 | self.assertEqual(self.client.sanitize('pass 12345'), repr('pass *****')) |
| 518 | self.assertEqual(self.client.sanitize('PASS 12345'), repr('PASS *****')) |
| 519 | |
| 520 | def test_exceptions(self): |
| 521 | self.assertRaises(ValueError, self.client.sendcmd, 'echo 40\r\n0') |
nothing calls this directly
no test coverage detected