MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_user

Method test_user

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

Source from the content-addressed store, hash-verified

279 self.assertRaises(poplib.error_proto, self.client._shortcmd, 'echo -err')
280
281 def test_user(self):
282 self.assertOK(self.client.user('guido'))
283 self.assertRaises(poplib.error_proto, self.client.user, 'invalid')
284
285 def test_pass_(self):
286 self.assertOK(self.client.pass_('python'))

Callers

nothing calls this directly

Calls 3

assertOKMethod · 0.95
userMethod · 0.80
assertRaisesMethod · 0.45

Tested by

no test coverage detected