Skip to content

Commit

Permalink
Attempt to run PythonInstallerUI in TestFunctional without enabling W…
Browse files Browse the repository at this point in the history
…indows LongPathsEnabled setting, which requires elevation and unlikely to work in an automated test where this is not available.
  • Loading branch information
dshteyn committed Jan 6, 2025
1 parent 52b7405 commit d42c1c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private void InstallPython(BuildLibraryDlg buildLibraryDlg)
longPathDlg = WaitForOpenForm<MultiButtonMsgDlg>();
Assert.AreEqual(longPathDlg.Message,
string.Format(ToolsUIResources.PythonInstaller_Enable_Windows_Long_Paths));
RunDlg<MessageDlg>(longPathDlg.BtnYesClick, okDlg =>
RunDlg<MessageDlg>(longPathDlg.ClickNo, okDlg =>
{
confirmDlg = okDlg;
Assert.AreEqual(okDlg.Message,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private void InstallPython(BuildLibraryDlg buildLibraryDlg)
longPathDlg = WaitForOpenForm<MultiButtonMsgDlg>();
Assert.AreEqual(longPathDlg.Message,
string.Format(ToolsUIResources.PythonInstaller_Enable_Windows_Long_Paths));
RunDlg<MessageDlg>(longPathDlg.BtnYesClick, okDlg =>
RunDlg<MessageDlg>(longPathDlg.ClickNo, okDlg =>
{
confirmDlg = okDlg;
Assert.AreEqual(okDlg.Message,
Expand Down

0 comments on commit d42c1c5

Please sign in to comment.