MCPcopy Index your code
hub / github.com/python-cmd2/cmd2 / __init__

Method __init__

tests/test_plugin.py:24–26  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

22 """A mixin class for testing hook registration and calling"""
23
24 def __init__(self, *args, **kwargs) -> None:
25 super().__init__(*args, **kwargs)
26 self.reset_counters()
27
28 def reset_counters(self) -> None:
29 self.called_preparse = 0

Callers 1

__init__Method · 0.45

Calls 1

reset_countersMethod · 0.95

Tested by

no test coverage detected