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

Method test_exclude

cli/tests/test_functional.py:26–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

24 range_type("2")
25
26 def test_exclude(self):
27 p = pexpect.spawn(
28 'python3 lesspass/core.py site login masterpassword --exclude "!@$*+-8"'
29 )
30 output = p.read().decode()
31 for c in "!@$*+-8":
32 self.assertTrue(c not in output)
33
34 def test_exclude(self):
35 p = pexpect.spawn(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected