You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After fixing a test case and running it via the codelens "Run Test" the success icon in the codelens and the error squiggle on the function should reflect that result
Actual behaviour
Running a test removes the success/failure icon in front of the codelens. Error squiggles are added if the test fails, but not removed, when it succeeds.
Steps to reproduce:
create test function (e.g. def test_foo(): assert True)
Use "Run All Tests" -> tick mark appears in code lens
change to assert False. Run with codelens "Run Test" -> Tick dissappears, error squiggles appear
change back to assert True and run with codelens -> Output shows success, no tick, error squiggles persist
Run with "Run All Tests" -> tick mark appears in code lens, error squiggles removed
Logs
Logs look good, e.g. Python Test Log has =========================== 1 passed in 0.06 seconds ===========================
Environment data
"python.jediEnabled"set to; more info How to update the language server to the latest stable version #3977): not jediExpected behaviour
After fixing a test case and running it via the codelens "Run Test" the success icon in the codelens and the error squiggle on the function should reflect that result
Actual behaviour
Running a test removes the success/failure icon in front of the codelens. Error squiggles are added if the test fails, but not removed, when it succeeds.
Steps to reproduce:
def test_foo(): assert True)assert False. Run with codelens "Run Test" -> Tick dissappears, error squiggles appearassert Trueand run with codelens -> Output shows success, no tick, error squiggles persistLogs
Logs look good, e.g. Python Test Log has
=========================== 1 passed in 0.06 seconds ===========================