(self)
| 120 | self.assertFalse(parse_args(["site"]).no_fingerprint) |
| 121 | |
| 122 | def test_parse_args_save_path(self): |
| 123 | self.assertEqual( |
| 124 | parse_args(["--save", "/tmp/profiles.json"]).save_path, "/tmp/profiles.json" |
| 125 | ) |
| 126 | self.assertEqual(parse_args(["site"]).save_path, None) |
| 127 | with patch.dict("os.environ", {"XDG_CONFIG_HOME": "/tmp"}): |
| 128 | self.assertEqual( |
| 129 | parse_args(["--save"]).save_path, "/tmp/lesspass/profiles.json" |
| 130 | ) |
| 131 | |
| 132 | def test_parse_args_load_path(self): |
| 133 | self.assertEqual( |
nothing calls this directly
no test coverage detected