Expose remote branch ref as an environment variable

This commit is contained in:
surafelabebe 2020-12-21 15:16:11 -08:00 committed by Anthony Sottile
parent bb50e00447
commit cb5ed6276d
5 changed files with 14 additions and 2 deletions

View file

@ -486,6 +486,7 @@ def test_from_ref_to_ref_error_msg_error(
def test_all_push_options_ok(cap_out, store, repo_with_passing_hook):
args = run_opts(
from_ref='master', to_ref='master',
remote_branch='master',
remote_name='origin', remote_url='https://example.com/repo',
)
ret, printed = _do_run(cap_out, store, repo_with_passing_hook, args)