MCPcopy Create free account
hub / github.com/lesspass/lesspass / test_parse_args_login

Method test_parse_args_login

cli/tests/test_cli.py:12–13  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

10 self.assertEqual(parse_args(["site"]).site, "site")
11
12 def test_parse_args_login(self):
13 self.assertEqual(parse_args(["site", "login"]).login, "login")
14
15 def test_parse_args_LESSPASS_MASTER_PASSWORD_env_variable(self):
16 with patch.dict("os.environ", {"LESSPASS_MASTER_PASSWORD": "password"}):

Callers

nothing calls this directly

Calls 1

parse_argsFunction · 0.90

Tested by

no test coverage detected