MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / test_generator_fail

Method test_generator_fail

unit-tests/test_api.py:20–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18 self.assertEqual(strength.symbols, 0)
19
20 def test_generator_fail(self):
21 with self.assertRaises(Exception):
22 generator.KeeperPasswordGenerator(length=20, caps=0, lower=0, digits=0, symbols=0)
23
24
25class TestSearch(TestCase):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected