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

Method reset_counters

tests/test_plugin.py:28–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 self.reset_counters()
27
28 def reset_counters(self) -> None:
29 self.called_preparse = 0
30 self.called_postparsing = 0
31 self.called_precmd = 0
32 self.called_postcmd = 0
33 self.called_cmdfinalization = 0
34
35 ###
36 #

Calls

no outgoing calls

Tested by

no test coverage detected