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

Method test_dir

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

Source from the content-addressed store, hash-verified

652 self.assertEqual(self.client.nlst(), NLST_DATA.split('\r\n')[:-1])
653
654 def test_dir(self):
655 l = []
656 self.client.dir(l.append)
657 self.assertEqual(''.join(l), LIST_DATA.replace('\r\n', ''))
658
659 def test_mlsd(self):
660 list(self.client.mlsd())

Callers

nothing calls this directly

Calls 4

dirMethod · 0.80
assertEqualMethod · 0.45
joinMethod · 0.45
replaceMethod · 0.45

Tested by

no test coverage detected