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

Method test_parse_args_counter_long

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

Source from the content-addressed store, hash-verified

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)
89
90 def test_parse_args_counter_short(self):
91 self.assertEqual(parse_args(["site", "-C99"]).counter, 99)

Callers

nothing calls this directly

Calls 1

parse_argsFunction · 0.90

Tested by

no test coverage detected