(cap_out, store, repo_with_passing_hook)
| 486 | |
| 487 | |
| 488 | def test_all_push_options_ok(cap_out, store, repo_with_passing_hook): |
| 489 | args = run_opts( |
| 490 | from_ref='master', to_ref='master', |
| 491 | remote_branch='master', |
| 492 | local_branch='master', |
| 493 | remote_name='origin', remote_url='https://example.com/repo', |
| 494 | ) |
| 495 | ret, printed = _do_run(cap_out, store, repo_with_passing_hook, args) |
| 496 | assert ret == 0 |
| 497 | assert b'Specify both --from-ref and --to-ref.' not in printed |
| 498 | |
| 499 | |
| 500 | def test_is_squash_merge(cap_out, store, repo_with_passing_hook): |