MCPcopy Index your code
hub / github.com/python/cpython / test_getwelcome

Method test_getwelcome

Lib/test/test_ftplib.py:512–513  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

510 self.assertEqual(received, expected)
511
512 def test_getwelcome(self):
513 self.assertEqual(self.client.getwelcome(), '220 welcome')
514
515 def test_sanitize(self):
516 self.assertEqual(self.client.sanitize('foo'), repr('foo'))

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
getwelcomeMethod · 0.45

Tested by

no test coverage detected