MCPcopy
hub / github.com/django/django / getpass

Method getpass

tests/auth_tests/test_management.py:60–63  ·  view source on GitHub ↗
(prompt=b"Password: ", stream=None)

Source from the content-addressed store, hash-verified

58 class mock_getpass:
59 @staticmethod
60 def getpass(prompt=b"Password: ", stream=None):
61 if callable(inputs["password"]):
62 return inputs["password"]()
63 return inputs["password"]
64
65 def mock_input(prompt):
66 assert "__proxy__" not in prompt

Callers 2

handleMethod · 0.80
_get_passMethod · 0.80

Calls 1

callableFunction · 0.85

Tested by

no test coverage detected