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

Method test_parse_args_length_long

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

Source from the content-addressed store, hash-verified

75 self.assertEqual(parse_args(["site"]).length, 16)
76
77 def test_parse_args_length_long(self):
78 self.assertEqual(parse_args(["site", "--length", "8"]).length, 8)
79
80 def test_parse_args_length_short(self):
81 self.assertEqual(parse_args(["site", "-L6"]).length, 6)

Callers

nothing calls this directly

Calls 1

parse_argsFunction · 0.90

Tested by

no test coverage detected