MCPcopy Create free account
hub / github.com/ipython/ipython / test_roundtrip

Function test_roundtrip

IPython/lib/tests/test_security.py:13–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 nt.assert_equal(len(hashed), 40)
12
13def test_roundtrip():
14 p = passwd('passphrase')
15 nt.assert_equal(passwd_check(p, 'passphrase'), True)
16
17def test_bad():
18 p = passwd('passphrase')

Callers

nothing calls this directly

Calls 2

passwdFunction · 0.90
passwd_checkFunction · 0.90

Tested by

no test coverage detected