test(install-options): feed the new reinstall prompt answer
The entrypoint test now supplies a fourth answer for the "Uninstall ... and reinstall via npm?" prompt install.ps1/install.sh ask after the existing three install options. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5ae8e0cff5
commit
dc71fb4cc4
1 file changed
+1
-1
@@ -184,7 +184,7 @@ class InstallOptionsTests(unittest.TestCase):
|
|||||||
'select_configured_plugins() { :; }\nsync_configured_plugins() { :; }\n'
|
'select_configured_plugins() { :; }\nsync_configured_plugins() { :; }\n'
|
||||||
'run_plugin_command() { printf "CLI-MOCK %s\\n" "$2"; }\n')
|
'run_plugin_command() { printf "CLI-MOCK %s\\n" "$2"; }\n')
|
||||||
environment = dict(os.environ, HOME=home.as_posix(), TEST_INSTALL_HOME=str(home))
|
environment = dict(os.environ, HOME=home.as_posix(), TEST_INSTALL_HOME=str(home))
|
||||||
for name, quick, answers in [('install', False, 'y\nn\nn\n'), ('update', True, '')]:
|
for name, quick, answers in [('install', False, 'y\nn\nn\nn\n'), ('update', True, '')]:
|
||||||
entry = str(scripts / (name + '.' + suffix))
|
entry = str(scripts / (name + '.' + suffix))
|
||||||
command = ([executable, '-NoProfile', '-File', entry, '-Shell', 'Bash', '-Client', 'Both', '-Summary']
|
command = ([executable, '-NoProfile', '-File', entry, '-Shell', 'Bash', '-Client', 'Both', '-Summary']
|
||||||
if kind == 'powershell' else [executable, entry, '--shell', 'bash', '--client', 'both', '--summary'])
|
if kind == 'powershell' else [executable, entry, '--shell', 'bash', '--client', 'both', '--summary'])
|
||||||
|
|||||||
Reference in new issue
Block a user