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
When multiple tests are in a single test file, the test result progress bar gets printed for each test in the file, when using pytest-sugar in a windows powershell terminal. Example output:
The progressbar is rendered so, that it ends right on the right window margin (last character is used by the progressbar)
I could get it fixed locally by either setting LEN_RIGHT_MARGIN to 1 or inside SugarTerminalReporter.insert_progress by adding 1 less space (num_spaces -1), but I don't know, if these are the correct fixes for the issue.
I believe some part of the calculation of number of needed spaces to insert into the status line is broken, because for in test runs with errors the lines with "-" or "=" padding are always 1 character shorter than the line with the status line
The text was updated successfully, but these errors were encountered:
When multiple tests are in a single test file, the test result progress bar gets printed for each test in the file, when using pytest-sugar in a windows powershell terminal. Example output:
Command:
Output:
The progressbar is rendered so, that it ends right on the right window margin (last character is used by the progressbar)
I could get it fixed locally by either setting LEN_RIGHT_MARGIN to 1 or inside SugarTerminalReporter.insert_progress by adding 1 less space (num_spaces -1), but I don't know, if these are the correct fixes for the issue.
I believe some part of the calculation of number of needed spaces to insert into the status line is broken, because for in test runs with errors the lines with "-" or "=" padding are always 1 character shorter than the line with the status line
The text was updated successfully, but these errors were encountered: