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

Method test_list

Lib/test/test_poplib.py:324–328  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

322 self.client._shortcmd = original_shortcmd
323
324 def test_list(self):
325 self.assertEqual(self.client.list()[1:],
326 ([b'1 1', b'2 2', b'3 3', b'4 4', b'5 5'],
327 25))
328 self.assertEndsWith(self.client.list('1'), b"OK 1 1")
329
330 def test_retr(self):
331 expected = (b'+OK 116 bytes',

Callers

nothing calls this directly

Calls 3

assertEndsWithMethod · 0.80
assertEqualMethod · 0.45
listMethod · 0.45

Tested by

no test coverage detected