MCPcopy Create free account
hub / github.com/commitizen-tools/commitizen / test_argcomplete_activation

Function test_argcomplete_activation

tests/test_cli.py:134–142  ·  view source on GitHub ↗

This function is testing the one-time activation of argcomplete for commitizen only. Equivalent to run: $ eval "$(register-python-argcomplete pytest)"

()

Source from the content-addressed store, hash-verified

132 reason="`argcomplete` does not support Git Bash on Windows.",
133)
134def test_argcomplete_activation():
135 """
136 This function is testing the one-time activation of argcomplete for
137 commitizen only.
138
139 Equivalent to run:
140 $ eval "$(register-python-argcomplete pytest)"
141 """
142 subprocess.run(["register-python-argcomplete", "cz"], check=True)
143
144
145def test_commitizen_excepthook_no_raises():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected