(cap_out, store, repo_with_passing_hook)
| 498 | |
| 499 | |
| 500 | def test_is_squash_merge(cap_out, store, repo_with_passing_hook): |
| 501 | args = run_opts(is_squash_merge='1') |
| 502 | environ: MutableMapping[str, str] = {} |
| 503 | ret, printed = _do_run( |
| 504 | cap_out, store, repo_with_passing_hook, args, environ, |
| 505 | ) |
| 506 | assert environ['PRE_COMMIT_IS_SQUASH_MERGE'] == '1' |
| 507 | |
| 508 | |
| 509 | def test_rewrite_command(cap_out, store, repo_with_passing_hook): |