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

Method test_parse_args_counter_default

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

Source from the content-addressed store, hash-verified

82 self.assertEqual(parse_args(["site", "-L", "12"]).length, 12)
83
84 def test_parse_args_counter_default(self):
85 self.assertEqual(parse_args(["site"]).counter, 1)
86
87 def test_parse_args_counter_long(self):
88 self.assertEqual(parse_args(["site", "--counter", "2"]).counter, 2)

Callers

nothing calls this directly

Calls 1

parse_argsFunction · 0.90

Tested by

no test coverage detected