Move test to install_uninstall test so environment variables apply

This commit is contained in:
Anthony Sottile 2020-01-16 09:55:46 -08:00
parent 57cc814b8b
commit 0bb8a8fabe
6 changed files with 46 additions and 47 deletions

View file

@ -151,10 +151,9 @@ def _pre_push(stdin: bytes) -> Tuple[str, ...]:
opts = ('--origin', local_sha, '--source', source)
if opts:
remote_opts = (
'--push-remote-name', remote_name, '--push-remote-url', remote_url,
return (
*opts, '--remote-name', remote_name, '--remote-url', remote_url,
)
return opts + remote_opts
else:
# An attempt to push an empty changeset
raise EarlyExit()