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

Method test_parse_args_load_path

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

Source from the content-addressed store, hash-verified

130 )
131
132 def test_parse_args_load_path(self):
133 self.assertEqual(
134 parse_args(["--load", "/tmp/profiles.json"]).load_path, "/tmp/profiles.json"
135 )
136 self.assertEqual(parse_args(["site"]).load_path, None)
137
138 def test_parse_args_config_home_path(self):
139 self.assertTrue(parse_args([]).config_home_path.endswith("/.config/lesspass"))

Callers

nothing calls this directly

Calls 1

parse_argsFunction · 0.90

Tested by

no test coverage detected