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

Method test_quit

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

Source from the content-addressed store, hash-verified

586 self.assertEqual(dir, 'pwd ok')
587
588 def test_quit(self):
589 self.assertEqual(self.client.quit(), '221 quit ok')
590 # Ensure the connection gets closed; sock attribute should be None
591 self.assertEqual(self.client.sock, None)
592
593 def test_abort(self):
594 self.client.abort()

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
quitMethod · 0.45

Tested by

no test coverage detected