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

Method test_token_value_internal_hash

Lib/test/test_netrc.py:180–189  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

178 """, 'password', 'pass#')
179
180 def test_token_value_internal_hash(self):
181 self._test_token_x("""\
182 machine host.domain.com login lo#g password pass account acct
183 """, 'login', 'lo#g')
184 self._test_token_x("""\
185 machine host.domain.com login log password pass account ac#ct
186 """, 'account', 'ac#ct')
187 self._test_token_x("""\
188 machine host.domain.com login log password pa#ss account acct
189 """, 'password', 'pa#ss')
190
191 def _test_comment(self, nrc, passwd='pass'):
192 nrc = self.make_nrc(nrc)

Callers

nothing calls this directly

Calls 1

_test_token_xMethod · 0.95

Tested by

no test coverage detected