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

Method test_parse_args_master_password

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

Source from the content-addressed store, hash-verified

17 self.assertEqual(parse_args([]).master_password, "password")
18
19 def test_parse_args_master_password(self):
20 self.assertEqual(
21 parse_args(["site", "login", "masterpassword"]).master_password,
22 "masterpassword",
23 )
24
25 def test_parse_args_l(self):
26 self.assertTrue(parse_args(["site", "-l"]).l)

Callers

nothing calls this directly

Calls 1

parse_argsFunction · 0.90

Tested by

no test coverage detected