This function is testing the one-time activation of argcomplete for commitizen only. Equivalent to run: $ eval "$(register-python-argcomplete pytest)"
()
| 132 | reason="`argcomplete` does not support Git Bash on Windows.", |
| 133 | ) |
| 134 | def 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 | |
| 145 | def test_commitizen_excepthook_no_raises(): |
nothing calls this directly
no outgoing calls
no test coverage detected