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
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you feel this is incorrect please comment to keep it alive, with a reason why.
To prevent closure, e.g. for long-term planning issues, add the "Never Stale" label.
stalebot
added
the
Stale
This label is automatically applied to issues that are automatically closed by the stale bot
label
Feb 22, 2021
This issue was originally TRAC 10703
If one places a standard python unittest into Mantid script window and tries to run it, the script seems to do something, but no unit tests are run.
It seems, some system variables necessary for unittest to identify its tests are not set properly from Mantid Python window.
e.g., copying a unit test script below ant trying to run it reports:
Ran 0 tests in 0.000s
OK
while running it from IDE or python directly gives you as it should:
.........
Ran 9 tests in 0.091s
OK
Sample unit test script (any should do):
The text was updated successfully, but these errors were encountered: