(cap_out, store, repo_with_passing_hook)
| 507 | |
| 508 | |
| 509 | def test_rewrite_command(cap_out, store, repo_with_passing_hook): |
| 510 | args = run_opts(rewrite_command='amend') |
| 511 | environ: MutableMapping[str, str] = {} |
| 512 | ret, printed = _do_run( |
| 513 | cap_out, store, repo_with_passing_hook, args, environ, |
| 514 | ) |
| 515 | assert environ['PRE_COMMIT_REWRITE_COMMAND'] == 'amend' |
| 516 | |
| 517 | |
| 518 | def test_checkout_type(cap_out, store, repo_with_passing_hook): |