File tree Expand file tree Collapse file tree
src/client/unittests/display Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ export class TestResultDisplay {
124124 this . statusBar . command = haveTests ? constants . Commands . Tests_View_UI : constants . Commands . Tests_Discover ;
125125 this . statusBar . show ( ) ;
126126
127- if ( ! haveTests && ! quietMode ) {
127+ if ( ! haveTests && ! quietMode ) {
128128 // TODO: show an option that will invoke a command 'python.test.configureTest' or similar
129129 // This will be hanlded by main.ts that will capture input from user and configure the tests
130130 vscode . window . showInformationMessage ( 'No Tests discovered' ) ;
@@ -141,7 +141,10 @@ export class TestResultDisplay {
141141 if ( reason !== CANCELLATION_REASON ) {
142142 this . statusBar . text = `$(alert) Test discovery failed` ;
143143 this . statusBar . tooltip = `Discovering Tests failed (view 'Python Test Log' output panel for details)` ;
144+ // TODO: ignore this quitemode, always display the error message (inform the user)
144145 if ( ! isNotInstalledError ( reason ) && ! quietMode ) {
146+ // TODO: show an option that will invoke a command 'python.test.configureTest' or similar
147+ // This will be hanlded by main.ts that will capture input from user and configure the tests
145148 vscode . window . showErrorMessage ( 'There was an error in discovering tests' ) ;
146149 }
147150 }
You can’t perform that action at this time.
0 commit comments